diff --git a/conf/stopo.conf.part b/conf/stopo.conf.part index add8b63..14a455d 100644 --- a/conf/stopo.conf.part +++ b/conf/stopo.conf.part @@ -1058,6 +1058,24 @@ source src_ch_swisstopo_geologie_thermale_waesser : def_searchable_features from geol.thermal_waters } +source src_ch_swisstopo_unterkuenfte_winter : def_searchable_features +{ + sql_db = stopo_${DBSTAGING} + sql_query = \ + SELECT bgdi_id as id \ + , name as label \ + , 'feature' as origin \ + , remove_accents(name) as detail \ + , 'ch.swisstopo.unterkuenfte-winter' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(st_centroid(the_geom),4326)) as lat \ + , st_x(st_transform(st_centroid(the_geom),4326)) as lon \ + , box2d(st_transform(the_geom, 21781)) as geom_st_box2d \ + , box2d(st_transform(the_geom, 2056)) as geom_st_box2d_lv95 \ + , bgdi_id::text as feature_id \ + from karto.unterkuenfte_winter +} + ## INDICES index ch_swisstopo_verschiebungsvektoren_tsp1 @@ -1418,3 +1436,9 @@ index ch_swisstopo_geologie_thermale_waesser : ch_swisstopo_verschiebungsvektore source = src_ch_swisstopo_geologie_thermale_waesser path = /var/lib/sphinxsearch/data/index/ch_swisstopo_geologie_thermale_waesser } + +index ch_swisstopo_unterkuenfte_winter : ch_swisstopo_verschiebungsvektoren_tsp1 +{ + source = src_ch_swisstopo_unterkuenfte_winter + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_unterkuenfte_winter +}