Skip to content

Commit

Permalink
Merge pull request #634 from geoadmin/fix-2-BGDDIC-2865-notfall
Browse files Browse the repository at this point in the history
BGDIDIC-2865: id does id has to be an int?
  • Loading branch information
rebert authored Sep 19, 2024
2 parents d45a230 + 7afb3d6 commit 6048a05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/vbs.conf.part
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ source src_ch_babs_notfalltreffpunkte : def_searchable_features
{
sql_db = vbs_${DBSTAGING}
sql_query = \
SELECT ntp_id as id \
SELECT bgdi_id::int as id \
, ntp_id as label \
, 'feature' as origin \
, (concat_ws(' ',ntp_id, gebbezeichnung)) as detail \
, remove_accents(concat_ws(' ',ntp_id, gebbezeichnung)) as detail \
, 'ch.babs.notfalltreffpunkte' as layer \
, quadindex(the_geom) as geom_quadindex \
, st_y(st_transform(st_centroid(the_geom),4326)) as lat \
Expand Down

0 comments on commit 6048a05

Please sign in to comment.