Skip to content

Commit

Permalink
Include attributes in WFS GetFeature requests. (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
emacgillavry authored Jul 1, 2024
1 parent 359d8b2 commit 50b2ca6
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
2 changes: 2 additions & 0 deletions header.inc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
"wms_format" "image/png"
"wfs_encoding" "UTF-8"
"wfs_maxfeatures" "500000"
"wfs_namespace_prefix" "amsterdam"
"wfs_namespace_uri" "https://amsterdam.nl/"
"wfs_getfeature_formatlist" "gml,geojson,csv,shapezip,spatialzip"

# verplicht om aan de OGC standaard te voldoen:
Expand Down
35 changes: 35 additions & 0 deletions nieuwbouwplannen.map
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ MAP
DATA "geometrie FROM public.nieuwbouwplannen_woningbouwplannen_openbaar USING srid=28992 USING UNIQUE id"
FILTER ([plaberum_publicatie] = 'Fase 1: Verkenning')
TYPE POLYGON
TEMPLATE "empty"
PROJECTION
"init=epsg:28992"
END
Expand All @@ -26,6 +27,12 @@ MAP
"ows_title" "Fase 1: verkenning"
"ows_abstract" "Fase 1: verkenning Amsterdam"
"wms_group_title" "Woningbouwplannen"
"gml_featureid" "id"
"gml_geometries" "geometry"
"gml_geometry_type" "polygon"
"gml_include_items" "all"
"gml_types" "auto"
"wms_include_items" "all"
END

CLASS
Expand All @@ -52,6 +59,7 @@ MAP
DATA "geometrie FROM public.nieuwbouwplannen_woningbouwplannen_openbaar USING srid=28992 USING UNIQUE id"
FILTER ([plaberum_publicatie] = 'Fase 2&3: Haalbaarheid en ontwerp')
TYPE POLYGON
TEMPLATE "empty"
PROJECTION
"init=epsg:28992"
END
Expand All @@ -60,6 +68,12 @@ MAP
"ows_title" "Fase 2&3: Haalbaarheid en ontwerp"
"ows_abstract" "Fase 2&3: Haalbaarheid en ontwerp Amsterdam"
"wms_group_title" "Woningbouwplannen"
"gml_featureid" "id"
"gml_geometries" "geometry"
"gml_geometry_type" "polygon"
"gml_include_items" "all"
"gml_types" "auto"
"wms_include_items" "all"
END

CLASS
Expand All @@ -86,6 +100,7 @@ MAP
DATA "geometrie FROM public.nieuwbouwplannen_woningbouwplannen_openbaar USING srid=28992 USING UNIQUE id"
FILTER ([plaberum_publicatie] = 'Fase 4: Voorbereiding en uitvoering')
TYPE POLYGON
TEMPLATE "empty"
PROJECTION
"init=epsg:28992"
END
Expand All @@ -94,6 +109,12 @@ MAP
"ows_title" "Fase 4: Voorbereiding en uitvoering"
"ows_abstract" "Fase 4: Voorbereiding en uitvoering Amsterdam"
"wms_group_title" "Woningbouwplannen"
"gml_featureid" "id"
"gml_geometries" "geometry"
"gml_geometry_type" "polygon"
"gml_include_items" "all"
"gml_types" "auto"
"wms_include_items" "all"
END

CLASS
Expand All @@ -120,6 +141,7 @@ MAP
DATA "geometrie FROM public.nieuwbouwplannen_woningbouwplannen_openbaar USING srid=28992 USING UNIQUE id"
FILTER ([plaberum_publicatie] = 'Fase 5: Gestart')
TYPE POLYGON
TEMPLATE "empty"
PROJECTION
"init=epsg:28992"
END
Expand All @@ -128,6 +150,12 @@ MAP
"ows_title" "Fase 5: Gestart"
"ows_abstract" "Fase 5: Gestart Amsterdam"
"wms_group_title" "Woningbouwplannen"
"gml_featureid" "id"
"gml_geometries" "geometry"
"gml_geometry_type" "polygon"
"gml_include_items" "all"
"gml_types" "auto"
"wms_include_items" "all"
END

CLASS
Expand All @@ -154,6 +182,7 @@ MAP
DATA "geometrie FROM public.nieuwbouwplannen_woningbouwplannen_openbaar USING srid=28992 USING UNIQUE id"
FILTER ([plaberum_publicatie] = 'Onbekend')
TYPE POLYGON
TEMPLATE "empty"
PROJECTION
"init=epsg:28992"
END
Expand All @@ -162,6 +191,12 @@ MAP
"ows_title" "Onbekend"
"ows_abstract" "Onbekend voortgang nieuwbouwplannen woningbouw Amsterdam"
"wms_group_title" "Woningbouwplannen"
"gml_featureid" "id"
"gml_geometries" "geometry"
"gml_geometry_type" "polygon"
"gml_include_items" "all"
"gml_types" "auto"
"wms_include_items" "all"
END

CLASS
Expand Down

0 comments on commit 50b2ca6

Please sign in to comment.