@@ -58,6 +58,25 @@ source src_ch_bav_haltestellen-oev : def_searchable_features
58
58
from bav.oev_haltestellen
59
59
}
60
60
61
+
62
+ source src_ch_bfe_bikesharing : def_searchable_features
63
+ {
64
+ sql_db = uvek_dev
65
+ sql_query = \
66
+ SELECT bgdi_id as id \
67
+ , provider as label \
68
+ , 'feature' as origin \
69
+ , remove_accents(concat_ws(' ',provider,address)) as detail \
70
+ , 'ch.bfe.bikesharing' as layer \
71
+ , quadindex(the_geom) as geom_quadindex \
72
+ , st_y(st_transform(st_ClosestPoint(the_geom,st_centroid(the_geom)),4326)) as lat \
73
+ , st_x(st_transform(st_ClosestPoint(the_geom,st_centroid(the_geom)),4326)) as lon \
74
+ , box2d(the_geom) as geom_st_box2d \
75
+ , bgdi_id as feature_id \
76
+ from bfe.bikesharing_station
77
+ }
78
+
79
+
61
80
source src_ch_astra_ivs-nat : def_searchable_features
62
81
{
63
82
sql_db = uvek_dev
@@ -1115,6 +1134,12 @@ index ch_astra_strassenverkehrszaehlung_messstellen-regional_lokal : ch_astra_iv
1115
1134
path = /var/lib/sphinxsearch/data/index/ch_astra_strassenverkehrszaehlung_messstellen-regional_lokal
1116
1135
}
1117
1136
1137
+ index ch_bfe_bikesharing : ch_astra_ivs-nat
1138
+ {
1139
+ source = src_ch_bfe_bikesharing
1140
+ path = /var/lib/sphinxsearch/data/index/ch_bfe_bikesharing
1141
+ }
1142
+
1118
1143
index ch_astra_unfaelle-personenschaeden_motorraeder : ch_astra_ivs-nat
1119
1144
{
1120
1145
source = src_ch_astra_unfaelle-personenschaeden_motorraeder
0 commit comments