Skip to content

Commit

Permalink
Merge pull request #639 from geoadmin/data-BGDIDIC-1405-snow-there-ar…
Browse files Browse the repository at this point in the history
…e-nulls

BGDIDIC-1804: there are null target_names
  • Loading branch information
rebert authored Oct 28, 2024
2 parents 108bd54 + 9dab433 commit 6ed994e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions conf/stopo.conf.part
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ source src_ch_swisstopo_karto_skitouren : def_searchable_features
sql_db = stopo_${DBSTAGING}
sql_query = \
SELECT bgdi_id as id \
, remove_accents(target_name) as label \
, remove_accents(coalesce(target_name, '')) as label \
, 'feature' as origin \
, remove_accents(target_name) as detail \
, remove_accents(coalesce(target_name, '')) as detail \
, 'ch.swisstopo-karto.skitouren' as layer \
, quadindex(the_geom) as geom_quadindex \
, st_y(st_transform(st_centroid(the_geom),4326)) as lat \
Expand All @@ -150,9 +150,9 @@ source src_ch_swisstopo_karto_schneeschuhrouten : def_searchable_features
sql_db = stopo_${DBSTAGING}
sql_query = \
SELECT bgdi_id as id \
, remove_accents(target_name) as label \
, remove_accents(coalesce(target_name, '')) as label \
, 'feature' as origin \
, remove_accents(target_name) as detail \
, remove_accents(coalesce(target_name, '')) as detail \
, 'ch.swisstopo-karto.schneeschuhrouten' 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 6ed994e

Please sign in to comment.