-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyramid_oereb_standard.yml
378 lines (346 loc) · 17.1 KB
/
pyramid_oereb_standard.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
# This is a example yaml configuration file for the pyramid oereb server. It contains all configuration you
# need to get an up and running server.
# The line below represents the "entry point" for the yaml configuration also called section. Keep this in
# mind for later stuff. You can change it to your favorite name. For the moment this is enough to know.
pyramid_oereb:
# The "language" property is a list of all languages provided by this application. In the moment this only
# affects the output of the capabilities webservice. Whatever in later versions it will be the configuration
# also for the translation mechanism. TODO: Add more details When this feature is fully implemented!
language:
- de
- fr
- it
- rm
# The "flavour" property is a list of all flavours provided by this application. In the moment this only
# affects the output of the capabilities webservice. Whatever in later versions it is the place to directly
# influence the available output formats.
#
# Possible flavours are: REDUCED, FULL, EMBEDDABLE, SIGNED
# TODO: Add more details When this feature is fully implemented!
flavour:
- REDUCED
- FULL
- EMBEDDABLE
# The "app_schema" property contains only one sub property "name". This is directly related to the database
# creation process. Because this name is used as schema name in the target database. The app_schema holds
# all application stuff like: addresses, municipalities, real estates, etc.
# Please note that this is only necessary if you want to use the standard configuration. Normally you don't
# need to adjust this. Only in the unlikely case of another schema in the same database with the same name
# you can change it here to avoid name collision. Of cause you can configure the application to load these
# data from else where.
app_schema:
name: pyramid_oereb_main
models: pyramid_oereb.standard.models.main
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
# Define the SRID which your server is representing. Note: Only one projection system is possible in the
# application. It does not provide any reprojection nor data in different projection systems. Take care in
# your importing process!
srid: 2056
# Defines the information of the oereb cadastre providing authority. Please change this to your data. This
# will be directly used for producing the extract output.
plr_cadastre_authority:
# The name of your Office. For instance: Amt für Geoinformation Basel-Landschaft
name: PLR cadastre authority
# An online link to web presentation of your office. For instance: https://www.geo.bl.ch/
office_at_web: https://www.cadastre.ch/en/oereb.html
# The street name of the address of your office. For instance: Mühlemattstrasse
street: Seftigenstrasse
# The street number of the address of your office. For instance: 36
number: 264
# The ZIP code of the address of your office. For instance: 4410
postal_code: 3084
# The city name of the address of your office. For instance: Liestal
city: Wabern
# The extract provides logos. Therefor you need to provide a path to these logos. Note: This must be a
# valid absolute system path available for reading by the user running this server.
logo:
# The logo representing the swiss confederation (you can use it as is cause it is provided in this
# repository). But if you need to change it for any reason: Feel free...
confederation: logo_confederation.png
# The logo representing the oereb extract CI (you can use it as is cause it is provided in this
# repository). But if you need to change it for any reason: Feel free...
oereb: logo_oereb.png
# The logo representing your canton. This must be configured!
canton: YOUR_LOGO_HERE!
# The processor of the oereb project needs access to real estate data. In the standard configuration this
# is assumed to be read from a database. Hint: If you like to read the real estate out of an existing
# database table to avoid imports of this data every time it gets updates you only need to change the model
# bound to the source. The model must implement the same field names and information then the default model
# does.
real_estate:
# The real estate must have a property source.
source:
# The source must have a class which represents the accessor to the source. In this case it is a source
# already implemented which reads data from a database.
class: pyramid_oereb.lib.sources.real_estate.RealEstateDatabaseSource
# The configured class accepts params which are also necessary to define
params:
# The connection path where the database can be found
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
# The model which maps the real estate database table.
model: pyramid_oereb.standard.models.main.RealEstate
# The processor of the oereb project needs access to address data. In the standard configuration this
# is assumed to be read from a database. Hint: If you like to read the addresses out of an existing database
# table to avoid imports of this data every time it gets updates you only need to change the model bound to
# the source. The model must implement the same field names and information then the default model does.
address:
# The address must have a property source.
source:
# The source must have a class which represents the accessor to the source. In this case it is a source
# already implemented which reads data from a database.
class: pyramid_oereb.lib.sources.address.AddressDatabaseSource
# The configured class accepts params which are also necessary to define
params:
# The connection path where the database can be found
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
# The model which maps the address database table.
model: pyramid_oereb.standard.models.main.Address
# The processor of the oereb project needs access to municipality data. In the standard configuration this
# is assumed to be read from a database. Hint: If you like to read the municipality out of an existing
# database table to avoid imports of this data every time it gets updates you only need to change the model
# bound to the source. The model must implement the same field names and information then the default model
# does.
municipality:
# The municipality must have a property source.
source:
# The source must have a class which represents the accessor to the source. In this case it is a source
# already implemented which reads data from a database.
class: pyramid_oereb.lib.sources.municipality.MunicipalityDatabaseSource
# The configured class accepts params which are also necessary to define
params:
# The connection path where the database can be found
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
# The model which maps the municipality database table.
model: pyramid_oereb.standard.models.main.Municipality
# The processor of the oereb project needs access to glossary data. In the standard configuration this
# is assumed to be read from a database. Hint: If you like to read the glossary out of an existing database
# table to avoid imports of this data every time it gets updates you only need to change the model bound to
# the source. The model must implement the same field names and information then the default model does.
glossary:
# The glossary must have a property source.
source:
# The source must have a class which represents the accessor to the source. In this case it is a source
# already implemented which reads data from a database.
class: pyramid_oereb.lib.sources.glossary.GlossaryDatabaseSource
# The configured class accepts params which are also necessary to define
params:
# The connection path where the database can be found
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
# The model which maps the glossary database table.
model: pyramid_oereb.standard.models.main.Glossary
# The processor of the oereb project needs access to exclusion of liability data. In the standard
# configuration this is assumed to be read from a database. Hint: If you like to read the exclusion of
# liability out of an existing database table to avoid imports of this data every time it gets updates you
# only need to change the model bound to the source. The model must implement the same field names and
# information then the default model does.
exclusion_of_liability:
# The exclusion_of_liability must have a property source.
source:
# The source must have a class which represents the accessor to the source. In this case it is a source
# already implemented which reads data from a database.
class: pyramid_oereb.lib.sources.exclusion_of_liability.ExclusionOfLiabilityDatabaseSource
# The configured class accepts params which are also necessary to define
params:
# The connection path where the database can be found
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
# The model which maps the exclusion_of_liability database table.
model: pyramid_oereb.standard.models.main.ExclusionOfLiability
# The extract is more an abstract implementation of a source. It is the entry point which binds everything
# related to data together.
extract:
# The extract must have a property source.
source:
# The source must have a class which represents the accessor to the source. In this case it is a source
# already implemented which reads data from a database. In this case it does not take any parameters.
class: pyramid_oereb.lib.sources.extract.ExtractStandardDatabaseSource
# All PLR's which are provided by this application. This is related to all application behaviour. Especially
# the extract creation process which loops over this list.
plrs:
- name: plr73
code: LandUsePlans
geometry_type: LINESTRING
label: Nutzungsplanung
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.land_use_plans
- name: plr87
code: MotorwaysProjectPlaningZones
geometry_type: LINESTRING
label: Projektierungszonen Nationalstrassen
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.motorways_project_planing_zones
- name: plr88
code: MotorwaysBuildingLines
geometry_type: LINESTRING
label: Baulinien Nationalstrassen
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.motorways_building_lines
- name: plr97
code: RailwaysBuildingLines
geometry_type: LINESTRING
label: Baulinien Eisenbahnanlagen
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.railways_building_lines
- name: plr96
code: RailwaysProjectPlanningZones
geometry_type: POLYGON
label: Projektierungszonen Eisenbahnanlagen
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.railways_project_planning_zones
- name: plr103
code: AirportsProjectPlanningZones
geometry_type: POLYGON
label: Projektierungszonen Flughafenanlagen
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.airports_project_planning_zones
- name: plr104
code: AirportsBuildingLines
geometry_type: POLYGON
label: Baulinien Flughafenanlagen
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.airports_building_lines
- name: plr108
code: AirportsSecurityZonePlans
geometry_type: POLYGON
label: Sicherheitszonenplan Flughafen
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.airports_security_zone_plans
- name: plr116
code: ContaminatedSites
geometry_type: POLYGON
label: Belastete Standorte
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.contaminated_sites
- name: plr117
code: ContaminatedMilitarySites
geometry_type: POLYGON
label: Belastete Standorte Militär
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.contaminated_military_sites
- name: plr118
code: ContaminatedCivilAviationSites
geometry_type: POLYGON
label: Belastete Standorte Zivile Flugplätze
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.contaminated_civil_aviation_sites
- name: plr119
code: ContaminatedPublicTransportSites
geometry_type: POLYGON
label: Belastete Standorte Öeffentlicher Verkehr
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.contaminated_public_transport_sites
- name: plr131
code: GroundwaterProtectionZones
geometry_type: POLYGON
label: Grundwasserschutzzonen
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.groundwater_protection_zones
- name: plr132
code: GroundwaterProtectionSites
geometry_type: POLYGON
label: Grundwasserschutzareale
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.groundwater_protection_sites
- name: plr145
code: NoiseSensitivityLevels
geometry_type: POLYGON
label: Lärmemfindlichkeitsstufen
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.noise_sensitivity_levels
- name: plr157
code: ForestPerimeters
geometry_type: POLYGON
label: Waldgrenzen
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.forest_perimeters
- name: plr159
code: ForestDistanceLines
geometry_type: POLYGON
label: Waldabstandslinien
language: de
standard: true
source:
class: pyramid_oereb.lib.sources.plr.PlrStandardDatabaseSource
params:
db_connection: postgresql://postgres:password@localhost/pyramid_oereb
models: pyramid_oereb.standard.models.forest_distance_lines
db_connection: postgresql://postgres:password@localhost/pyramid_oereb