diff --git a/conf/stopo.conf.part b/conf/stopo.conf.part index 92259ac5..00a22cf6 100644 --- a/conf/stopo.conf.part +++ b/conf/stopo.conf.part @@ -508,6 +508,295 @@ source src_ch_swisstopo_transformation-bezugsrahmen_hoehe : def_searchable_featu from geodaesie.bezugsrahmen_hoehe_pkt } +source src_ch_swisstopo_skitourenkarte-50_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(pk_product||' '||coalesce(s_title_de,'')||' '||coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.skitourenkarte-50.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_lkski_shop +} + +source src_ch_swisstopo_lk25-papierkarte_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(pk_product||' '||coalesce(s_title_de,'')||' '||coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.lk25-papierkarte.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_lk25_shop +} + +source src_ch_swisstopo_lk25-papierkarte-zusammensetzung_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(pk_product||' '||coalesce(s_title_de,'')||' '||coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.lk25-papierkarte-zusammensetzung.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_lk25zus_shop +} + +source src_ch_swisstopo_lk50-papierkarte_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(pk_product||' '||coalesce(s_title_de,'')||' '||coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.lk50-papierkarte.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_lk50_shop +} + +source src_ch_swisstopo_lk50-papierkarte-zusammensetzung_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(pk_product||' '||coalesce(s_title_de,'')||' '||coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.lk50-papierkarte-zusammensetzung.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_lk50zus_shop +} + +source src_ch_swisstopo_lk100-papierkarte_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(pk_product||' '||coalesce(s_title_de,'')||' '||coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.lk100-papierkarte.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_lk100_shop +} + +source src_ch_swisstopo_lhk100-papierkarte_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(pk_product||' '||coalesce(s_title_de,'')||' '||coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.lhk100-papierkarte.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_lk100_shop +} + +source src_ch_swisstopo_lk100-papierkarte-zusammensetzung_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(pk_product||' '||coalesce(s_title_de,'')||' '||coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.lk100-papierkarte-zusammensetzung.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_lk100zus_shop +} + +source src_ch_swisstopo_lk200-papierkarte_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(pk_product||' '||coalesce(s_title_de,'')||' '||coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.lk200-papierkarte.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_lk200_shop +} + +source src_ch_swisstopo_wk50-papierkarte_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(pk_product||' '||coalesce(s_title_de,'')||' '||coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.wk50-papierkarte.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_lkwander50_shop +} + +source src_ch_swisstopo_wkt33-papierkarte_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(pk_product||' '||coalesce(s_title_de,'')||' '||coalesce(n_scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.wkt33-papierkarte.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_wkt33_shop +} + +source src_ch_swisstopo_wk50-papierkarte-zusammensetzung_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(pk_product||' '||coalesce(s_title_de,'')||' '||coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.wk50-papierkarte-zusammensetzung.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_lkwander50zus_shop +} + +source src_ch_swisstopo_wk25-papierkarte-zusammensetzung_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(pk_product||' '||coalesce(s_title_de,'')||' '||coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.wk25-papierkarte-zusammensetzung.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_lkwander25zus_shop +} + +source src_ch_swisstopo_gk300-papierkarte_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.gk300-papierkarte.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_gk300 +} + +source src_ch_swisstopo_lk500-papierkarte_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.lk500-papierkarte.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_lk500 +} + +source src_ch_swisstopo_lk1000-papierkarte_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.lk1000-papierkarte.metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_lk1000 +} + +source src_ch_swisstopo_sfk300-papierkarte_metadata : def_searchable_features +{ + sql_db = stopo_dev + sql_query = \ + SELECT row_number() OVER(ORDER BY pk_product asc) as id \ + , pk_product as label \ + , 'feature' as origin \ + , remove_accents(coalesce(scale::text,'')||' '||coalesce(price::text,'')||' '||coalesce(release::text,'')) as detail \ + , 'ch.swisstopo.sfk300-papierkarte_metadata' as layer \ + , quadindex(the_geom) as geom_quadindex \ + , st_y(st_transform(ST_PointOnSurface(the_geom),4326)) as lat \ + , st_x(st_transform(ST_PointOnSurface(the_geom),4326)) as lon \ + , box2d(the_geom) as geom_st_box2d \ + , pk_product as feature_id \ + from datenstand.view_gridstand_sfk300 +} + ## INDICES index ch_swisstopo_verschiebungsvektoren-tsp1 @@ -686,4 +975,106 @@ index ch_swisstopo_transformation-bezugsrahmen_hoehe : ch_swisstopo_verschiebung path = /var/lib/sphinxsearch/data/index/ch_swisstopo_transformation-bezugsrahmen_hoehe } +index ch_swisstopo_skitourenkarte-50_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_skitourenkarte-50_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_skitourenkarte-50_metadata +} + +index ch_swisstopo_lk25-papierkarte_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_lk25-papierkarte_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_lk25-papierkarte_metadata +} + +index ch_swisstopo_lk25-papierkarte-zusammensetzung_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_lk25-papierkarte-zusammensetzung_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_lk25-papierkarte-zusammensetzung_metadata +} + +index ch_swisstopo_lk50-papierkarte_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_lk50-papierkarte_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_lk50-papierkarte_metadata +} + +index ch_swisstopo_lk50-papierkarte-zusammensetzung_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_lk50-papierkarte-zusammensetzung_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_lk50-papierkarte-zusammensetzung_metadata +} + +index ch_swisstopo_lk100-papierkarte_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_lk100-papierkarte_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_lk100-papierkarte_metadata +} + +index ch_swisstopo_lhk100-papierkarte_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_lhk100-papierkarte_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_lhk100-papierkarte_metadata +} + +index ch_swisstopo_lk100-papierkarte-zusammensetzung_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_lk100-papierkarte-zusammensetzung_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_lk100-papierkarte-zusammensetzung_metadata +} + +index ch_swisstopo_lk200-papierkarte_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_lk200-papierkarte_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_lk200-papierkarte_metadata +} + +index ch_swisstopo_wk50-papierkarte_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_wk50-papierkarte_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_wk50-papierkarte_metadata +} + +index ch_swisstopo_wkt33-papierkarte_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_wkt33-papierkarte_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_wkt33-papierkarte_metadata +} + +index ch_swisstopo_wk50-papierkarte-zusammensetzung_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_wk50-papierkarte-zusammensetzung_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_wk50-papierkarte-zusammensetzung_metadata +} + +index ch_swisstopo_wk25-papierkarte-zusammensetzung_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_wk25-papierkarte-zusammensetzung_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_wk25-papierkarte-zusammensetzung_metadata +} + +index ch_swisstopo_gk300-papierkarte_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_gk300-papierkarte_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_gk300-papierkarte_metadata +} + +index ch_swisstopo_lk500-papierkarte_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_lk500-papierkarte_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_lk500-papierkarte_metadata +} + +index ch_swisstopo_lk1000-papierkarte_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_lk1000-papierkarte_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_lk1000-papierkarte_metadata +} + +index ch_swisstopo_sfk300-papierkarte_metadata : ch_swisstopo_verschiebungsvektoren-tsp1 +{ + source = src_ch_swisstopo_sfk300-papierkarte_metadata + path = /var/lib/sphinxsearch/data/index/ch_swisstopo_sfk300-papierkarte_metadata +} +