Skip to content

Commit

Permalink
BGDIDIC-1804: there are null target_names
Browse files Browse the repository at this point in the history
  • Loading branch information
rebert committed Oct 28, 2024
1 parent 108bd54 commit 9dab433
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 9dab433

Please sign in to comment.