Skip to content

Commit

Permalink
Merge pull request #635 from geoadmin/develop-2024-10-09
Browse files Browse the repository at this point in the history
New Release 2024-10-09-rc1
  • Loading branch information
rebert authored Oct 7, 2024
2 parents dc72e06 + 6048a05 commit 0b63267
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create-milestone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ jobs:
uses: geoadmin/.github/.github/workflows/create-milestone.yml@master
secrets: inherit
with:
ci_status_check_name: ''
ci_status_check_name: 'service-search-sphinx-pr'
24 changes: 24 additions & 0 deletions conf/vbs.conf.part
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,24 @@ source src_ch_babs_kulturgueter : def_searchable_features
from babs.kgs
}

source src_ch_babs_notfalltreffpunkte : def_searchable_features
{
sql_db = vbs_${DBSTAGING}
sql_query = \
SELECT bgdi_id::int as id \
, ntp_id as label \
, 'feature' as origin \
, remove_accents(concat_ws(' ',ntp_id, gebbezeichnung)) as detail \
, 'ch.babs.notfalltreffpunkte' 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 \
, ntp_id::text as feature_id \
from babs.notfalltreffpunkte
}

source src_ch_vbs_kataster_belasteter_standorte_militaer : def_searchable_features
{
sql_db = vbs_${DBSTAGING}
Expand Down Expand Up @@ -201,6 +219,12 @@ index ch_vbs_kataster_belasteter_standorte_militaer : ch_babs_kulturgueter
path = /var/lib/sphinxsearch/data/index/ch_vbs_kataster_belasteter_standorte_militaer
}

index ch_babs_notfalltreffpunkte : ch_babs_kulturgueter
{
source = src_ch_babs_notfalltreffpunkte
path = /var/lib/sphinxsearch/data/index/ch_babs_notfalltreffpunkte
}

index ch_vbs_armeelogistikcenter : ch_babs_kulturgueter
{
source = src_ch_vbs_armeelogistikcenter
Expand Down

0 comments on commit 0b63267

Please sign in to comment.