Skip to content

Commit 35d82cc

Browse files
authored
Merge pull request #659 from geoadmin/develop-2025-03-12
New Release 2025-03-12-rc1
2 parents b5e0a87 + 3d86f6d commit 35d82cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

conf/stopo.conf.part

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,17 +274,17 @@ source src_ch_swisstopo_geologie_rohstoffe_gips_abbau_verarbeitung : def_searcha
274274
{
275275
sql_db = stopo_${DBSTAGING}
276276
sql_query = \
277-
SELECT obid::bigint as id \
277+
SELECT bgdi_id::bigint as id \
278278
, obname as label \
279279
, 'feature' as origin \
280-
, remove_accents(concat_ws(' ', obname, ockind, ltkinds, edltkinds, emkinds, pckind)) as detail \
280+
, remove_accents(concat_ws(' ', obname, cpkind)) as detail \
281281
, 'ch.swisstopo.geologie-rohstoffe-gips_abbau_verarbeitung' as layer \
282282
, quadindex(the_geom) as geom_quadindex \
283283
, st_y(st_transform(st_centroid(the_geom),4326)) as lat \
284284
, st_x(st_transform(st_centroid(the_geom),4326)) as lon \
285285
, box2d(st_transform(the_geom, 21781)) as geom_st_box2d \
286286
, box2d(st_transform(the_geom, 2056)) as geom_st_box2d_lv95 \
287-
, obid::text as feature_id \
287+
, bgdi_id::text as feature_id \
288288
from geol.rohstoffe_gipsabbauverarbeitung
289289
}
290290

0 commit comments

Comments
 (0)