From b4c875fadb78632c5fe203bddfee62769ed9810c Mon Sep 17 00:00:00 2001 From: Tobias Reber Date: Thu, 19 Sep 2024 13:18:49 +0200 Subject: [PATCH] BGDIDIC-2865: id does id has to be an int? --- conf/vbs.conf.part | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/vbs.conf.part b/conf/vbs.conf.part index a2898ca..b03b0cd 100644 --- a/conf/vbs.conf.part +++ b/conf/vbs.conf.part @@ -22,7 +22,7 @@ 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 \ @@ -32,7 +32,7 @@ source src_ch_babs_notfalltreffpunkte : def_searchable_features , st_x(st_transform(st_centroid(the_geom),4326)) as lon \ , box2d(st_transform(the_geom, 21781)) as geom_st_box2d \ , box2d(st_transform(the_geom, 2056)) as geom_st_box2d_lv95 \ - , ntp_id::text as feature_id \ + , bgdi_id::text as feature_id \ from babs.notfalltreffpunkte }