Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly disable WFS for BRK2 and some other maps #410

Merged
merged 1 commit into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions beschermdestadsdorpsgezichten.map
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ MAP
DATA 'geometry FROM public.beschermdestadsdorpsgezichten_beschermdestadsdorpsgezichten USING UNIQUE id USING srid=28992'
TYPE POLYGON
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Gemeentelijk beschermd stadsgezicht'
'wms_enable_request' '*'
'wms_abstract' 'Beschermde stads- en dorpsgezichten'
Expand Down Expand Up @@ -51,7 +51,7 @@ MAP
DATA 'geometry FROM public.beschermdestadsdorpsgezichten_beschermdestadsdorpsgezichten USING UNIQUE id USING srid=28992'
TYPE POLYGON
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Gemeentelijk beschermd dorpsgezicht'
'wms_enable_request' '*'
'wms_abstract' 'Beschermde stads- en dorpsgezichten'
Expand Down Expand Up @@ -80,7 +80,7 @@ MAP
DATA 'geometry FROM public.beschermdestadsdorpsgezichten_beschermdestadsdorpsgezichten USING UNIQUE id USING srid=28992'
TYPE POLYGON
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Rijksbeschermd stadsgezicht'
'wms_enable_request' '*'
'wms_abstract' 'Beschermde stads- en dorpsgezichten'
Expand Down Expand Up @@ -109,7 +109,7 @@ MAP
DATA 'geometry FROM public.beschermdestadsdorpsgezichten_beschermdestadsdorpsgezichten USING UNIQUE id USING srid=28992'
TYPE POLYGON
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Rijksbeschermd dorpsgezicht'
'wms_enable_request' '*'
'wms_abstract' 'Beschermde stads- en dorpsgezichten'
Expand Down
36 changes: 18 additions & 18 deletions bomen.map
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Iep (Ulmus)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Iep (Ulmus)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -53,7 +53,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Linde (Tilia)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Linde (Tilia)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -82,7 +82,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Esdoorn (Acer)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Esdoorn (Acer)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -111,7 +111,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Es (Fraxinus)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Es (Fraxinus)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -140,7 +140,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Plataan (Platanus)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Plataan (Platanus)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -169,7 +169,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Eik (Quercus)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Eik (Quercus)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -198,7 +198,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Populier (Populus)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Populier (Populus)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -227,7 +227,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Els (Alnus)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Els (Alnus)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -256,7 +256,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Wilg (Salix)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Wilg (Salix)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -285,7 +285,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Berk (Betula)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Berk (Betula)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -314,7 +314,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Kers (Prunus)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Kers (Prunus)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -343,7 +343,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Haagbeuk (Carpinus)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Haagbeuk (Carpinus)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -372,7 +372,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Meidoorn (Crataegus)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Meidoorn (Crataegus)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -401,7 +401,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Acacia (Robinia)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Acacia (Robinia)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -430,7 +430,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Paardenkastanje (Aesculus)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Paardenkastanje (Aesculus)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -459,7 +459,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Vleugelnoot (Pterocarya)')) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Vleugelnoot (Pterocarya)'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -488,7 +488,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top = 'Onbekend' OR soortnaam_top IS NULL)) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Onbekende soorten'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down Expand Up @@ -517,7 +517,7 @@ MAP
DATA "geometrie FROM ( SELECT id, geometrie, soortnaam_top FROM public.bomen_stamgegevens WHERE type_soortnaam = 'Bomen' AND (soortnaam_top != 'Iep (Ulmus)' AND soortnaam_top != 'Linde (Tilia)' AND soortnaam_top != 'Esdoorn (Acer)' AND soortnaam_top != 'Es (Fraxinus)' AND soortnaam_top != 'Plataan (Platanus)' AND soortnaam_top != 'Eik (Quercus)' AND soortnaam_top != 'Populier (Populus)' AND soortnaam_top != 'Els (Alnus)' AND soortnaam_top != 'Wilg (Salix)' AND soortnaam_top != 'Berk (Betula)' AND soortnaam_top != 'Kers (Prunus)' AND soortnaam_top != 'Haagbeuk (Carpinus)' AND soortnaam_top != 'Meidoorn (Crataegus)' AND soortnaam_top != 'Acacia (Robinia)' AND soortnaam_top != 'Paardenkastanje (Aesculus)' AND soortnaam_top != 'Vleugelnoot (Pterocarya)' AND soortnaam_top IS NOT NULL)) AS sub USING srid=28992 USING UNIQUE id"
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Overige soorten'
'wms_enable_request' '*'
'wms_srs' 'EPSG:28992'
Expand Down
24 changes: 8 additions & 16 deletions brk2.map
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@ MAP
END

METADATA
"wfs_enable_request" "none"
"wfs_enable_request" "!*"
"ows_title" "kadastraal_object"
"ows_group_title" "kadaster"
"ows_abstract" "Kadastrale objecten"
"gml_featureid" "ID"
"gml_include_items" "all"
END

CLASS
Expand Down Expand Up @@ -67,12 +65,10 @@ MAP
END

METADATA
"wfs_enable_request" "none"
"wfs_enable_request" "!*"
"ows_title" "kadastrale_sectie"
"ows_group_title" "kadaster"
"ows_abstract" "Kadastrale secties"
"gml_featureid" "ID"
"gml_include_items" "all"
END

CLASS
Expand Down Expand Up @@ -102,12 +98,10 @@ MAP
END

METADATA
"wfs_enable_request" "none"
"wfs_enable_request" "!*"
"ows_title" "kadastrale_gemeente"
"ows_group_title" "kadaster"
"ows_abstract" "Kadastrale gemeentegrenzen"
"gml_featureid" "ID"
"gml_include_items" "all"
END

CLASS
Expand Down Expand Up @@ -140,12 +134,10 @@ MAP
END

METADATA
"wfs_enable_request" "none"
"wfs_enable_request" "!*"
"ows_title" "burgerlijke_gemeente"
"ows_group_title" "kadaster"
"ows_abstract" "Burgerlijke gemeentegrenzen"
"gml_featureid" "ID"
"gml_include_items" "all"
END

CLASS
Expand Down Expand Up @@ -180,7 +172,7 @@ MAP
END

METADATA
"wfs_enable_request" "none"
"wfs_enable_request" "!*"
"ows_title" "kadastraal_object_label"
"ows_group_title" "kadaster"
"ows_abstract" "Labels van kadastrale objecten"
Expand Down Expand Up @@ -223,7 +215,7 @@ MAP
END

METADATA
"wfs_enable_request" "none"
"wfs_enable_request" "!*"
"ows_title" "kadastrale_sectie_label"
"ows_group_title" "kadaster"
"ows_abstract" "Labels van kadastrale secties"
Expand Down Expand Up @@ -266,7 +258,7 @@ MAP
END

METADATA
"wfs_enable_request" "none"
"wfs_enable_request" "!*"
"ows_title" "kadastrale_gemeente_label"
"ows_group_title" "kadaster"
"ows_abstract" "Labels van kadastrale gemeentegrenzen"
Expand Down Expand Up @@ -312,7 +304,7 @@ MAP
END

METADATA
"wfs_enable_request" "none"
"wfs_enable_request" "!*"
"ows_title" "burgerlijke_gemeente_label"
"ows_group_title" "kadaster"
"ows_abstract" "Label van burgerlijke gemeentegrenzen"
Expand Down
2 changes: 1 addition & 1 deletion gen_beschermdestadsdorpsgezichten.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
p("TYPE POLYGON")

with block("METADATA"):
q("wfs_enable_request", "none")
q("wfs_enable_request", "!*")
q("wms_title", name)
q("wms_enable_request", "*")
q("wms_abstract", BSD_LONG)
Expand Down
2 changes: 1 addition & 1 deletion gen_bomen.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
p("TYPE POINT")

with block("METADATA"):
q("wfs_enable_request", "none")
q("wfs_enable_request", "!*")
q("wms_title", name)
q("wms_enable_request", "*")
q("wms_srs", "EPSG:28992")
Expand Down
2 changes: 1 addition & 1 deletion gen_ziektenplagenexotengroen.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
p("TYPE POINT")

with block("METADATA"):
q("wfs_enable_request", "none")
q("wfs_enable_request", "!*")
q("wms_title", name)
q("wms_enable_request", "*")
q("wms_abstract", "Eikenprocessierups Amsterdam")
Expand Down
18 changes: 9 additions & 9 deletions ziektenplagenexotengroen.map
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ MAP
DATA 'geometrie FROM (SELECT id, geometrie, urgentie_status_kaartlaag FROM public.ziekte_plagen_exoten_groen_eikenprocessierups WHERE ranking=1) AS sub USING srid=28992 USING UNIQUE id'
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Eikenprocessierups aanwezig (Laag)'
'wms_enable_request' '*'
'wms_abstract' 'Eikenprocessierups Amsterdam'
Expand Down Expand Up @@ -52,7 +52,7 @@ MAP
DATA 'geometrie FROM (SELECT id, geometrie, urgentie_status_kaartlaag FROM public.ziekte_plagen_exoten_groen_eikenprocessierups WHERE ranking=1) AS sub USING srid=28992 USING UNIQUE id'
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Eikenprocessierups deels bestreden'
'wms_enable_request' '*'
'wms_abstract' 'Eikenprocessierups Amsterdam'
Expand Down Expand Up @@ -82,7 +82,7 @@ MAP
DATA 'geometrie FROM (SELECT id, geometrie, urgentie_status_kaartlaag FROM public.ziekte_plagen_exoten_groen_eikenprocessierups WHERE ranking=1) AS sub USING srid=28992 USING UNIQUE id'
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Niet in beheergebied Gemeente Amsterdam'
'wms_enable_request' '*'
'wms_abstract' 'Eikenprocessierups Amsterdam'
Expand Down Expand Up @@ -112,7 +112,7 @@ MAP
DATA 'geometrie FROM (SELECT id, geometrie, urgentie_status_kaartlaag FROM public.ziekte_plagen_exoten_groen_eikenprocessierups WHERE ranking=1) AS sub USING srid=28992 USING UNIQUE id'
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Eikenprocessierups aanwezig (Urgent)'
'wms_enable_request' '*'
'wms_abstract' 'Eikenprocessierups Amsterdam'
Expand Down Expand Up @@ -142,7 +142,7 @@ MAP
DATA 'geometrie FROM (SELECT id, geometrie, urgentie_status_kaartlaag FROM public.ziekte_plagen_exoten_groen_eikenprocessierups WHERE ranking=1) AS sub USING srid=28992 USING UNIQUE id'
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Gemeld'
'wms_enable_request' '*'
'wms_abstract' 'Eikenprocessierups Amsterdam'
Expand Down Expand Up @@ -172,7 +172,7 @@ MAP
DATA 'geometrie FROM (SELECT id, geometrie, urgentie_status_kaartlaag FROM public.ziekte_plagen_exoten_groen_eikenprocessierups WHERE ranking=1) AS sub USING srid=28992 USING UNIQUE id'
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Eikenprocessierups bestreden'
'wms_enable_request' '*'
'wms_abstract' 'Eikenprocessierups Amsterdam'
Expand Down Expand Up @@ -202,7 +202,7 @@ MAP
DATA 'geometrie FROM (SELECT id, geometrie, urgentie_status_kaartlaag FROM public.ziekte_plagen_exoten_groen_eikenprocessierups WHERE ranking=1) AS sub USING srid=28992 USING UNIQUE id'
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Geen Eikenprocessierups aanwezig'
'wms_enable_request' '*'
'wms_abstract' 'Eikenprocessierups Amsterdam'
Expand Down Expand Up @@ -232,7 +232,7 @@ MAP
DATA 'geometrie FROM (SELECT id, geometrie, urgentie_status_kaartlaag FROM public.ziekte_plagen_exoten_groen_eikenprocessierups WHERE ranking=1) AS sub USING srid=28992 USING UNIQUE id'
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Niet bereikbaar voor bestrijding'
'wms_enable_request' '*'
'wms_abstract' 'Eikenprocessierups Amsterdam'
Expand Down Expand Up @@ -262,7 +262,7 @@ MAP
DATA 'geometrie FROM (SELECT id, geometrie, urgentie_status_kaartlaag FROM public.ziekte_plagen_exoten_groen_eikenprocessierups WHERE ranking=1) AS sub USING srid=28992 USING UNIQUE id'
TYPE POINT
METADATA
'wfs_enable_request' 'none'
'wfs_enable_request' '!*'
'wms_title' 'Eikenprocessierups aanwezig (Standaard)'
'wms_enable_request' '*'
'wms_abstract' 'Eikenprocessierups Amsterdam'
Expand Down