-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyramid_oereb_standard.mako
1136 lines (1086 loc) · 45.1 KB
/
pyramid_oereb_standard.mako
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
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# 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.
pyramid_oereb:
# Here you can set a central proxy which can be used in the application.
# proxies:
# http: http://"username":"password"@your_proxy.com:8088
# https: https://"username":"password"@your_proxy.com:8088
# The "language" property is a list of all languages supported by this application. It only affects the
# output of the extract webservice. The default langage below and any language specified by a "LANG"
# parameter in a request of an extract must be in this list to be accepted.
language:
- de
- fr
# The language that should be used by default, if no other language is specified in the request.
# This has to be one of the languages defined above.
default_language: de
# The law status translations based on the two possible codes 'inForce' and 'runningModifications'
law_status_translations:
in_force:
de: in Kraft
fr: en vigueur
running_modifications:
de: laufende Änderungen
fr: modification en cours
# The "flavour" property is a list of all flavours of data extracts provided by this application.
# For the moment this only affects the output of the capabilities webservice. In later
# versions, this will be the place to directly influence the available output formats.
#
# Possible flavours are: REDUCED, FULL, EMBEDDABLE, SIGNED
# REDUCED: Means that depending on the cantonal implementation you may be able to select
# a defined combination of topics to extract (e.g. only 'federal' topics without
# cantonal extensions - and choosing this option, legal provisions are only output
# as link.
# FULL: Means you get all topics, whether they are defined in the 17 base topics or if they
# are cantonal specificities.
# The extract will also have the legal provisions and referenced documents
# included as PDF.
# SIGNED: Is essentially the same as FULL, but the extract is certified by the competent
# authority
# EMBEDDABLE: With this flavour all images and documents are included as base64 binary
flavour:
- REDUCED
- FULL
- EMBEDDABLE
print:
# The pyramid renderer which is used as proxy pass through to the desired service for printable static
# extract. Here you can define the path to the logic which prepares the output as payload for print
# service and returns the result to the user.
#renderer: pyramid_oereb.contrib.print_proxy.mapfish_print.Renderer
renderer: oereb_server.contrib.print_proxy.mapfish_print.BERenderer
# Define whether all geometry data must be included when sending the data to the print service
with_geometry: False
# The minimum buffer in pixel at 72 DPI between the real estate and the map's border.
# Die Buffer-Grösse ist nur für die WMS-URLs im JSON/XML relevant.
# Der Buffer für den PDF-Auszug muss in oereb_server_print (config.yaml => ZoomToFeatures)
# separat eingestellt werden.
buffer: 30
# The map size in pixel at 72 DPI (width, height), This is the defined size of a map image
# (requested in wms urls) inside the static extract. On a pdf report, tha map size will
# be calculated with the pdf_dpi and the pdf_map_size_millimeters below.
basic_map_size: [493, 280]
# The dpi used to calculate the size of the requested map (for pdf export only).
pdf_dpi: 300
# The map size (in millimeters) used to calculate the size of the requested map (for pdf export only).
pdf_map_size_millimeters: [174, 99]
# Base URL with application of the print server
base_url: http://${PRINT_SERVICE_HOST}:${PRINT_SERVICE_PORT}/print/oereb
# Name of the print template to use
template_name: A4 portrait
# The headers sent to the print
headers:
Content-Type: application/json; charset=UTF-8
# Whether to display the RealEstate_SubunitOfLandRegister (Grundbuchkreis) in the pdf extract or not.
# Default to true.
display_real_estate_subunit_of_land_register: true
# whether to display the "Certification" section in the pdf extract or not.
# Default to true
display_certification: true
# Split themes up, so that each sub theme gets its own page
# Disabled by default.
split_sub_themes: true
# Determine if a multiple page table of content (TOC) is used with a slightly different layout but
# better page numbering. If it is known that the TOC is very long and runs over more than one page it
# is preferred to set this to true.
# Group elements of "LegalProvision" and "Hints" with the same "Title.Text" together yes/no
# Disabled by default.
group_legal_provisions: false
# Will make an estimation of the total length of the Table of Content (TOC) and control that the page
# numbering in the output pdf is consistent with TOC numbering. If it is known that the TOC is very long and
# could run over more than one page, it is preferred to set this to true. The drawback is that it might need
# more time to generate the PDF. If set to false, it will assume that only one TOC page exists, and this can
# lead to wrong numbering in the TOC.
compute_toc_pages: true
# Specify any additional URL parameters that the print shall use for WMS calls
wms_url_params:
TRANSPARENT: 'true'
map: 'oerebav_de'
# If you want the print to keep some custom URL parameters directly from the reference_wms you have defined,
# then use the configuration option wms_url_keep_params.
# In wms_url_keep_params, you can list which URL parameter values should be read from the reference_wms
# and used by the print.
wms_url_keep_params:
- map
- TRANSPARENT
# 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 course you can configure the application to load this
# data from elsewhere.
app_schema:
name: pyramid_oereb_main
models: oereb_server.models.main
db_connection: &main_db_connection
postgresql://${POSTGRES_SERVICE_USER}:${POSTGRES_SERVICE_PASS}@${POSTGRES_SERVICE_HOST}:${POSTGRES_SERVICE_PORT}/${POSTGRES_SERVICE_DATABASE}
# 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
# definition of the available geometry types for different checks
geometry_types:
point:
types:
- Point
- MultiPoint
line:
types:
- LineString
- LinearRing
- MultiLineString
polygon:
types:
- Polygon
- MultiPolygon
collection:
types:
- GeometryCollection
# Configuration option for full extract: apply SLD on land register WMS (defaults to true)
full_extract_use_sld: true
# # Configuration for OEREBlex
# oereblex:
# # OEREBlex host
# host: https://oereblex.bl.ch
# # geoLink schema version
# # version: 1.1.0
# # Pass schema version in URL
# # pass_version: true
# # Language of returned values
# language: de
# # Value for canton attribute
# canton: BL
# # Mapping for other optional attributes
# mapping:
# official_number: number
# abbreviation: abbreviation
# # Handle related decree also as main document
# # By default a related decree will be added as reference of the type "legal provision" to the main
# # document. Set this flag to true, if you want the related decree to be added as additional legal
# # provision directly to the public law restriction. This might have an impact on client side rendering.
# related_decree_as_main: false
# # Proxy to be used for web requests
# # proxy:
# # http:
# # https:
# # Credentials for basic authentication
# # auth:
# # username:
# # password:
# 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:
de: Amt für Geoinformation
fr: Office de l'information géographique
# An online link to web presentation of your office. For instance: https://www.geo.bl.ch/
office_at_web: https://www.be.ch/oerebk
# The street name of the address of your office. For instance: Mühlemattstrasse
street: Reiterstrasse
# The street number of the address of your office. For instance: 36
number: 11
# The ZIP code of the address of your office. For instance: 4410
postal_code: 3013
# The city name of the address of your office. For instance: Liestal
city: Bern
# 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 because it is provided in this
# repository, but if you need to change it for any reason: Feel free...
confederation: oereb_server/static/images/logo_confederation.png
# The logo representing the oereb extract CI. You can use it as is because it is provided in this
# repository, but if you need to change it for any reason: Feel free...
oereb:
de: oereb_server/static/images/logo_oereb_de.png
fr: oereb_server/static/images/logo_oereb_fr.png
# The logo representing your canton. Replace with your own logo!
canton: oereb_server/static/images/logo_canton.png
# The method used to return the logo images configured above.
get_logo_method: pyramid_oereb.standard.hook_methods.get_logo
# The method used to return the municipality logos.
get_municipality_method: pyramid_oereb.standard.hook_methods.get_municipality
# 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 want 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 as the default model
# does.
real_estate:
plan_for_land_register:
# WMS URL to query the plan for land register used for all themes pages
reference_wms: https://oerebservice.apps.be.ch/cgi-bin/mapserv.fcgi?map=oerebav_de&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&CRS=EPSG:2056&BBOX=2599595.8065759023,1199773.2348658578,2600124.1262757038,1200103.1093582213&WIDTH=1624&HEIGHT=1014&LAYERS=geodb.mopube_bbf_ohnefl,geodb.mopube_bbprjf,geodb.mopube_eof_ohnefl,geodb.mopube_rlf,geodb.mopube_liprjf,geodb.mopube_lisrprjf,geodb.mopube_lif,geodb.mopube_lisrf,geodb.mopube_hgf,geodb.mopube_hohk,geodb.mopube_rll,geodb.mopube_eol,geodb.mopube_eop,geodb.mopube_hgprjf,geodb.mopube_hgabschl,geodb.mopube_hoehep,geodb.mopube_hgp,geodb.mopube_ligp,geodb.mopube_fixp,geodb.mopube_rlltxt,geodb.mopube_rlftxt,geodb.mopube_bbprjtxt,geodb.mopube_bbtxt,geodb.mopube_gastrnat,geodb.mopube_nonamtxt,geodb.mopube_eoftxt,geodb.mopube_eoltxt,geodb.mopube_eoptxt,geodb.mopube_gaeintxt,geodb.mopube_lisrprjt,geodb.mopube_liprjtxt,geodb.mopube_lisrtxt,geodb.mopube_litxt&STYLES=,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&EXCEPTIONS=XML&FORMAT=image/png&BGCOLOR=0xFEFFFF&TRANSPARENT=TRUE
layer_index: 0
layer_opacity: 1.0
plan_for_land_register_main_page:
# WMS URL to query the plan for land register specially for static extracts overview page
reference_wms: https://oerebservice.apps.be.ch/cgi-bin/mapserv.fcgi?map=oerebav_de&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&CRS=EPSG:2056&BBOX=2599595.8065759023,1199773.2348658578,2600124.1262757038,1200103.1093582213&WIDTH=1624&HEIGHT=1014&LAYERS=geodb.mopube_bbf,geodb.mopube_bbprjf,geodb.mopube_eof,geodb.mopube_rlf,geodb.mopube_liprjf,geodb.mopube_lisrprjf,geodb.mopube_lif,geodb.mopube_lisrf,geodb.mopube_hgf,geodb.mopube_hohk,geodb.mopube_rll,geodb.mopube_eol,geodb.mopube_eop,geodb.mopube_hgprjf,geodb.mopube_hgabschl,geodb.mopube_hoehep,geodb.mopube_hgp,geodb.mopube_ligp,geodb.mopube_fixp,geodb.mopube_rlltxt,geodb.mopube_rlftxt,geodb.mopube_bbprjtxt,geodb.mopube_bbtxt,geodb.mopube_gastrnat,geodb.mopube_nonamtxt,geodb.mopube_eoftxt,geodb.mopube_eoltxt,geodb.mopube_eoptxt,geodb.mopube_gaeintxt,geodb.mopube_lisrprjt,geodb.mopube_liprjtxt,geodb.mopube_lisrtxt,geodb.mopube_litxt&STYLES=,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&EXCEPTIONS=XML&FORMAT=image/png&BGCOLOR=0xFEFFFF&TRANSPARENT=TRUE
layer_index: 0
layer_opacity: 1.0
visualisation:
method: pyramid_oereb.standard.hook_methods.produce_sld_content
# Note: these parameters must fit to the attributes provided by the RealEstateRecord!!!!
url_params:
- egrid
layer:
name: geodb.mopube_lif
style:
stroke_opacity: 0.75
stroke_color: '#ff0000'
stroke_width: 3
type_mapping:
- mapping: RealEstate
type: Liegenschaft
- mapping: Distinct_and_permanent_rights.BuildingRight
type: Baurecht
- mapping: Distinct_and_permanent_rights.right_to_spring_water
type: Quellenrecht
- mapping: Distinct_and_permanent_rights.concession
type: Konzessionsrecht
- mapping: Distinct_and_permanent_rights.other
type: weitere
- mapping: Mineral_rights
type: Bergwerk
# The real estate must have a property source.
source:
# The source must have a class which represents the accessor to the source. In this example, it is a an
# already implemented source which reads data from a database.
class: pyramid_oereb.standard.sources.real_estate.DatabaseSource
# The necessary parameters to use this class
params:
# The connection path where the database can be found
db_connection: *main_db_connection
# The model which maps the real estate database table.
model: oereb_server.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 want to read the addresses out of an existing database
# table to avoid imports of this data every time it gets updatesi, you only need to change the model bound to
# the source. The model must implement the same field names and information as 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 example, it is an
# already implemented source which reads data from a database.
class: pyramid_oereb.standard.sources.address.DatabaseSource
# The necessary parameters to use this class
params:
# The connection path where the database can be found
db_connection: *main_db_connection
# The model which maps the address database table.
model: oereb_server.models.main.Address
# Alternatively, you can use the search service of the GeoAdmin API to look up the real estate by
# address. Replace the configuration above with the following lines:
# class: pyramid_oereb.lib.sources.address.AddressGeoAdminSource
# # Optional referer to use.
# referer: http://my.referer.ch
# params:
# # URL of the GeoAdmin API SearchServer
# geoadmin_search_api: https://api3.geo.admin.ch/rest/services/api/SearchServer
# # Origins to use (should be "address" only)
# origins: 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 want 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 as 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 example, it is an
# already implemented source hich reads data from a database.
class: pyramid_oereb.standard.sources.municipality.DatabaseSource
# The necessary parameters to use this class
params:
# The connection path where the database can be found
db_connection: *main_db_connection
# The model which maps the municipality database table.
model: oereb_server.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 want to read the glossary out of an existing database
# table to avoid imports of this data every time it gets updatesi, you only need to change the model bound to
# the source. The model must implement the same field names and information as 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 example, it is an
# already implemented source which reads data from a database.
class: pyramid_oereb.standard.sources.glossary.DatabaseSource
# The necessary parameters to use this class
params:
# The connection path where the database can be found
db_connection: *main_db_connection
# The model which maps the glossary database table.
model: oereb_server.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 wamt 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 as 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 example, it is an
# already implemented source which reads data from a database.
class: pyramid_oereb.standard.sources.exclusion_of_liability.DatabaseSource
# The necessary parameters to use this class
params:
# The connection path where the database can be found
db_connection: *main_db_connection
# The model which maps the exclusion_of_liability database table.
model: oereb_server.models.main.ExclusionOfLiability
# The extract is the entry point which binds everything
# related to data together.
extract:
# Information about the base data used for the extract, e.g. the used base map and its currentness.
# This is a multilingual value. In the minimum, the value for the default language has to be defined.
base_data:
text:
de: "Daten der amtlichen Vermessung (Stand: {0})"
fr: "Données de la mensuration officielle (Etat au {0})"
methods:
date: oereb_server.hook_methods.get_surveying_data_update_date
provider: oereb_server.hook_methods.get_surveying_data_provider
# Certification and certification_at_web must be set with your own certification information.
certification:
de: Gemäss EV ÖREBKV Art.3,
fr: Selon OiOCRDP Art.3,
certification_at_web:
de: https://www.belex.sites.be.ch/frontend/texts_of_law/247
fr: https://www.belex.sites.be.ch/frontend/texts_of_law/247
general_information:
de: "Der Inhalt des ÖREB-Katasters wird als bekannt vorausgesetzt. Der Kanton Bern ist für die Genauigkeit und Verlässlichkeit der gesetzgebenden Dokumente in elektronischer Form nicht haftbar. Der Auszug hat rein informativen Charakter und begründet insbesondere keine Rechte und Pflichten. Rechtsverbindlich sind diejenigen Dokumente, welche rechtskräftig verabschiedet oder veröffentlicht worden sind. Mit der Beglaubigung des Auszugs wird die Übereinstimmung des Auszuges mit dem ÖREB-Kataster zum Zeitpunkt der Auszugserstellung bestätigt. Weitere Informationen zum ÖREB-Kataster finden Sie unter: www.be.ch/oerebk oder www.cadastre.ch"
fr: "Le contenu du cadastre RDPPF est supposé connu. Le canton de Berne n’engage pas sa responsabilité sur l’exactitude ou la fiabilité des documents législatifs dans leur version électronique. L’extrait a un caractère informatif et ne crée aucun droit ou obligation. Les documents juridiquement contraignants sont ceux qui ont été légalement adoptés ou publiés. La certification d’un extrait confirme la concordance de cet extrait avec le cadastre RDPPF à la date d’établissement dudit extrait. Vous trouverez d’autres informations sur le cadastre RDPPF sous: www.be.ch/crdppf ou www.cadastre.ch"
# All PLRs 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
# Es sind sowohl die deutschen als auch die französischen Subthemen-Titel aufgeführt.
# Damit sollte die Sortierung auch funktionieren, wenn das Subthema mehrsprachig ist.
# Achtung: die Titel müssen genau den in den Daten enthaltenen Titeln entsprechen.
sub_themes:
sorter:
module: pyramid_oereb.contrib.print_proxy.sub_themes.sorting
class_name: ListSort
params:
list:
- Zonenflächen der Grundnutzung
- Zonenflächen Grundnutzung (Nutzungszonen)
- Zonenflächen Grundnutzung (Bauklassen)
- Überlagernde Zonenflächen
- Andere flächenbezogene Festlegungen
- Linienbezogene Festlegungen
- Punktbezogene Festlegungen
- Surfaces de zones de l’affectation primaire
- Surfaces de zones de l’affectation primaire (Zone d'affectation)
- Surfaces de zones de l’affectation primaire (Classe de construction)
- Zones superposées
- Autres périmètres superposés
- Contenus linéaires
- Contenus ponctuels
geometry_type: GEOMETRYCOLLECTION
# Define the minmal area and length for public law restrictions that should be considered as 'true' restrictions
# and not as calculation errors (false trues) due to topological imperfections
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Kommunale Nutzungsplanung
fr: Plans d'affectation communaux
language: de
federal: false
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.land_use_plans
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr732
code: ch.BE.RegionalLandUsePlans
geometry_type: MULTIPOLYGON
# Define the minmal area and length for public law restrictions that should be considered as 'true' restrictions
# and not as calculation errors (false trues) due to topological imperfections
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Regionale Nutzungsplanung
fr: Plans d'affectation régionaux
language: de
federal: false
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.regional_land_use_plans
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr731
code: ch.BE.CantonalLandUsePlans
geometry_type: MULTIPOLYGON
# Define the minmal area and length for public law restrictions that should be considered as 'true' restrictions
# and not as calculation errors (false trues) due to topological imperfections
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Kantonale Nutzungsplanung
fr: Plans d'affectation cantonaux
language: de
federal: false
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.cantonal_land_use_plans
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr0036
code: ch.BE.CantonalStreetBuildingLines
geometry_type: MULTILINESTRING
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Baulinien Kantonsstrassen
fr: Alignements des routes cantonales
language: de
federal: false
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.cantonal_street_building_lines
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr87
code: MotorwaysProjectPlaningZones
geometry_type: MULTIPOLYGON
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Projektierungszonen Nationalstrassen
fr: Zones réservées des routes nationales
language: de
federal: true
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.motorways_project_planing_zones
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr88
code: MotorwaysBuildingLines
geometry_type: LINESTRING
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Baulinien Nationalstrassen
fr: Alignements des routes nationales
language: de
federal: true
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.motorways_building_lines
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr96
code: RailwaysProjectPlanningZones
geometry_type: POLYGON
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Projektierungszonen Eisenbahnanlagen
fr: Zones réservées des installations ferroviaires
language: de
federal: true
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.railways_project_planning_zones
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr97
code: RailwaysBuildingLines
geometry_type: LINESTRING
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Baulinien Eisenbahnanlagen
fr: Alignements des installations ferroviaires
language: de
federal: true
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.railways_building_lines
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr103
code: AirportsProjectPlanningZones
geometry_type: POLYGON
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Projektierungszonen Flughafenanlagen
fr: Zones réservées des installations aéroportuaires
language: de
federal: true
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.airports_project_planning_zones
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr104
code: AirportsBuildingLines
geometry_type: LINESTRING
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Baulinien Flughafenanlagen
fr: Alignements des installations aéroportuaires
language: de
federal: true
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.airports_building_lines
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr108
code: AirportsSecurityZonePlans
geometry_type: MULTIPOLYGON
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Sicherheitszonenplan
fr: Plan de la zone de sécurité
language: de
federal: true
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.airports_security_zone_plans
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr116
code: ContaminatedSites
geometry_type: MULTIPOLYGON
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Kataster der belasteten Standorte
fr: Cadastre des sites pollués
language: de
federal: false
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.contaminated_sites
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr117
code: ContaminatedMilitarySites
geometry_type: GEOMETRYCOLLECTION
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Kataster der belasteten Standorte im Bereich des Militärs
fr: Cadastre des sites pollués - domaine militaire
language: de
federal: true
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.contaminated_military_sites
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr118
code: ContaminatedCivilAviationSites
geometry_type: GEOMETRYCOLLECTION
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Kataster der belasteten Standorte im Bereich der zivilen Flugplätze
fr: Cadastre des sites pollués - domaine des aérodromes civils
language: de
federal: true
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.contaminated_civil_aviation_sites
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr119
code: ContaminatedPublicTransportSites
geometry_type: GEOMETRYCOLLECTION
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Kataster der belasteten Standorte im Bereich des öffentlichen Verkehrs
fr: Cadastre des sites pollués - domaine des transports publics
language: de
federal: true
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.contaminated_public_transport_sites
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr131
code: GroundwaterProtectionZones
geometry_type: POLYGON
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Grundwasserschutzzonen
fr: Zones de protection des eaux souterraines
language: de
federal: false
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.groundwater_protection_zones
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr132
code: GroundwaterProtectionSites
geometry_type: POLYGON
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Grundwasserschutzareale
fr: Périmètres de protection des eaux souterraines
language: de
federal: false
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.groundwater_protection_sites
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr145
code: NoiseSensitivityLevels
geometry_type: POLYGON
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Lärmempfindlichkeitsstufen (in Nutzungszonen)
fr: Degré de sensibilité au bruit (dans les zones d'affectation)
language: de
federal: false
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.noise_sensitivity_levels
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr157
code: ForestPerimeters
geometry_type: LINESTRING
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Statische Waldgrenzen
fr: Limites forestières statiques
language: de
federal: false
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.forest_perimeters
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr159
code: ForestDistanceLines
geometry_type: LINESTRING
thresholds:
length:
limit: 1.0
area:
limit: 1.0
text:
de: Kommunale Wald-Baulinien
fr: Alignements forestiers communaux
language: de
federal: false
standard: true
view_service:
layer_index: 1
layer_opacity: 1.0
source:
class: pyramid_oereb.standard.sources.plr.DatabaseSource
params:
db_connection: *main_db_connection
models: oereb_server.models.forest_distance_lines
hooks:
get_symbol: pyramid_oereb.standard.hook_methods.get_symbol
get_symbol_ref: pyramid_oereb.standard.hook_methods.get_symbol_ref
law_status:
in_force: inForce
running_modifications: runningModifications
- name: plr1591
code: ch.BE.RegionalForestDistanceLines
geometry_type: LINESTRING
thresholds:
length:
limit: 1.0
area:
limit: 1.0