Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BGDIDIC-1804: there are null target_names #639

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading