Skip to content

Commit

Permalink
Merge pull request #252 from geoadmin/Fix_ebene_2km_index
Browse files Browse the repository at this point in the history
Fix id unique for ch_bafu_wasser-teileinzugsgebiete_2
  • Loading branch information
ltclm committed Dec 16, 2015
2 parents abc9765 + c2d9b28 commit 33adc74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/bafu.conf.part
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ source src_ch_bafu_wasser-teileinzugsgebiete_2 : def_searchable_features
{
sql_db = bafu_dev
sql_query = \
SELECT teilezgnr::bigint as id \
SELECT row_number() OVER(ORDER BY teilezgnr asc) as id \
, teilezgnr as label \
, 'feature' as origin \
, remove_accents(coalesce(gwlnr::text,' ')||' '||coalesce(teilezgnr::text,' ')||' '||coalesce(ext_ezg_flussgb::text,' ')) as detail \
Expand Down

0 comments on commit 33adc74

Please sign in to comment.