diff --git a/services/pygeoapi/docker-compose.yml b/services/pygeoapi/docker-compose.yml index efeceea..a3bcdfb 100644 --- a/services/pygeoapi/docker-compose.yml +++ b/services/pygeoapi/docker-compose.yml @@ -41,6 +41,44 @@ services: - "traefik.http.routers.${SERVICE_NAME}_http.rule=Host(`localhost`) && PathPrefix(`${SERVICE_PATH}`)" - "traefik.http.routers.${SERVICE_NAME}_http.entrypoints=http" + adr_pygeoapi: + + image: ${DOCKER_IMAGE} + + container_name: ${SERVICE_NAME_ADR} + + expose: + - "80" + + # ports: + # - "5000:80" + + environment: + # Specific to Flask apps + - SCRIPT_NAME=${SERVICE_PATH_ADR} + + volumes: + # Map data and config into pygeoapi container + - ./local.config.yml:/pygeoapi/local.config.adr.yml + - ./data:/pygeoapi/data + + labels: + # Enable Traefik routing on overlay service network + - "traefik.enable=true" + - "traefik.docker.network=service-network" + + # Define SSL/https router + - "traefik.http.routers.${SERVICE_NAME}_https.rule=Host(`${TRAEFIK_SSL_DOMAIN}`) && PathPrefix(`${SERVICE_PATH_ADR}`)" + - "traefik.http.routers.${SERVICE_NAME}_https.entrypoints=https" + - "traefik.http.routers.${SERVICE_NAME}_https.tls=${TRAEFIK_USE_TLS}" + - "traefik.http.routers.${SERVICE_NAME}_https.tls.certresolver=${TRAEFIK_SSL_CERT_RESOLVER}" + - "traefik.http.routers.${SERVICE_NAME}_https.tls.options=my_default@file" + - "traefik.http.routers.${SERVICE_NAME}_https.middlewares=secure-headers@file" + + # Define local http router + - "traefik.http.routers.${SERVICE_NAME}_http.rule=Host(`localhost`) && PathPrefix(`${SERVICE_PATH_ADR}`)" + - "traefik.http.routers.${SERVICE_NAME}_http.entrypoints=http" + networks: default: external: diff --git a/services/pygeoapi/env.sh b/services/pygeoapi/env.sh index fbb16ee..c589264 100755 --- a/services/pygeoapi/env.sh +++ b/services/pygeoapi/env.sh @@ -4,9 +4,11 @@ source ../env.sh # Change for new service and subpath export SERVICE_NAME="pygeoapi" +export SERVICE_NAME_ADR="adr_pygeoapi" # Is subpath (becomes SCRIPT_NAME for Python web apps only). export SERVICE_PATH="/${SERVICE_NAME}" +export SERVICE_PATH_ADR="/${SERVICE_NAME_ADR}" # Can be usually left as is, unless you want to run specific build and/or version. export DOCKER_IMAGE_NAME="geopython/pygeoapi" diff --git a/services/pygeoapi/local.config.adr.yml b/services/pygeoapi/local.config.adr.yml new file mode 100644 index 0000000..80b6804 --- /dev/null +++ b/services/pygeoapi/local.config.adr.yml @@ -0,0 +1,941 @@ +server: + bind: + host: 0.0.0.0 + port: 80 + url: https://apitestbed.geonovum.nl/adr_pygeoapi + mimetype: application/json; charset=UTF-8 + encoding: utf-8 + language: en-US + cors: true + pretty_print: true + limit: 10 + map: + url: https://service.pdok.nl/brt/achtergrondkaart/wmts/v2_0/standaard/EPSG:3857/{z}/{x}/{y}.png + attribution: 'Map data © PDOK Kadaster' +# url: https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png +# attribution: 'Wikimedia maps | Map data © OpenStreetMap contributors' + ogc_schemas_location: /schemas.opengis.net + api_rules: + api_version: 1.0.0 + strict_slashes: true # trailing slashes will not be allowed and result in a 404 + url_prefix: 'v{api_major}' # adds a /v1 prefix to all URL paths + version_header: API-Version # add a response header of this name with the API version + +logging: + level: ERROR + #logfile: /tmp/master.log + +metadata: + identification: + title: Geonovum OGC API Testbed + description: An implementation showing use of pygeoapi as INSPIRE download service + keywords: + - geospatial + - data + - INSPIRE + - Download service + - api + keywords_type: theme + terms_of_service: https://creativecommons.org/licenses/by/3.0/ + url: https://www.nationaalgeoregister.nl/geonetwork/srv/metadata/45eaae76-874a-4fe1-88f4-820517e3de73 + license: + name: CC-BY 3.0 license + url: http://creativecommons.org/licenses/by/3.0/nl/ + provider: + name: Rijksdienst Cultureel Erfgoed + url: https://www.cultureelerfgoed.nl + contact: + name: Rijksdienst voor het Cultureel Erfgoed - InfoDesk + position: Helpdesk + address: Postbus 1600 + city: Amersfoort + stateorprovince: Utrecht + postalcode: 3800 BP + country: The Netherlands + phone: +31 633 4217456 + fax: +31 633 4217799 + email: info@cultureelerfgoed.nl + url: https://www.cultureelerfgoed.nl + role: pointOfContact + +resources: + AddressesNL: + type: collection + title: Dutch INSPIRE Addresses + description: INSPIRE harmonized Addresses from Dutch Key Registry BAG. Small subset (100 objects), created with/by WeTransform. + keywords: + - Addresses + - INSPIRE + links: + - type: text/html + rel: describedby + title: Metadata as HTML + href: https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a5f961e9-ebdd-41e2-b8e8-ab33ed340a83 + hreflang: nl + - type: application/xml + rel: describedby + title: Metadata as iso19139 xml + href: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/a5f961e9-ebdd-41e2-b8e8-ab33ed340a83/formatters/xml + hreflang: nl + - type: text/html + rel: tag + title: Reference to the concept Addresses (inspire registry) + href: https://inspire.ec.europa.eu/theme/ad + hreflang: nl + - type: application/gml+xml + rel: enclosure + title: Download complete dataset as GML + href: https://service.pdok.nl/kadaster/ad/atom/downloads/addresses.gml.gz + hreflang: nl + extents: + spatial: + bbox: [6.85, 53.311, 6.87, 53.322] + crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + temporal: + begin: + end: null # or empty + providers: + - type: feature + name: OGR + data: + source_type: GPKG + source: data/ADNL_4326.gpkg +# source_srs: EPSG:4258 +# target_srs: EPSG:4326 + source_capabilities: + paging: True + + gdal_ogr_options: + EMPTY_AS_NULL: NO + GDAL_CACHEMAX: 64 + # GDAL_HTTP_PROXY: (optional proxy) + # GDAL_PROXY_AUTH: (optional auth for remote WFS) + CPL_DEBUG: NO + crs: + - http://www.opengis.net/def/crs/OGC/1.3/CRS84 + - http://www.opengis.net/def/crs/EPSG/0/4326 + - http://www.opengis.net/def/crs/EPSG/0/3857 + - http://www.opengis.net/def/crs/EPSG/0/4258 + - http://www.opengis.net/def/crs/EPSG/0/28992 + storage_crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + + id_field: fid + title_field: gml_id + layer: SimpleAddress + + AddressesNL_28992: + type: collection + title: Dutch INSPIRE Addresses - RD + description: INSPIRE harmonized Addresses from Dutch Key Registry BAG. Small subset (100 objects), created with/by WeTransform, stored in EPSG:28992. + keywords: + - Addresses + - INSPIRE + links: + - type: text/html + rel: describedby + title: Metadata as HTML + href: https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a5f961e9-ebdd-41e2-b8e8-ab33ed340a83 + hreflang: nl + - type: application/xml + rel: describedby + title: Metadata as iso19139 xml + href: https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/a5f961e9-ebdd-41e2-b8e8-ab33ed340a83/formatters/xml + hreflang: nl + - type: text/html + rel: tag + title: Reference to the concept Addresses (inspire registry) + href: https://inspire.ec.europa.eu/theme/ad + hreflang: nl + - type: application/gml+xml + rel: enclosure + title: Download complete dataset as GML + href: https://service.pdok.nl/kadaster/ad/atom/downloads/addresses.gml.gz + hreflang: nl + extents: + spatial: + bbox: [6.85, 53.311, 6.87, 53.322] + crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + temporal: + begin: + end: null # or empty + providers: + - type: feature + name: OGR + data: + source_type: GPKG + source: data/ADNL_28992.gpkg + # source_srs: EPSG:28992 + # target_srs: EPSG:4326 + source_capabilities: + paging: True + + gdal_ogr_options: + EMPTY_AS_NULL: NO + GDAL_CACHEMAX: 64 + # GDAL_HTTP_PROXY: (optional proxy) + # GDAL_PROXY_AUTH: (optional auth for remote WFS) + CPL_DEBUG: NO + crs: + - http://www.opengis.net/def/crs/OGC/1.3/CRS84 + - http://www.opengis.net/def/crs/EPSG/0/4326 + - http://www.opengis.net/def/crs/EPSG/0/3857 + - http://www.opengis.net/def/crs/EPSG/0/4258 + - http://www.opengis.net/def/crs/EPSG/0/28992 + storage_crs: http://www.opengis.net/def/crs/OGC/1.3/28992 + + id_field: fid + title_field: gml_id + layer: SimpleAddress + + ProtectedSites: + type: collection + title: Protected Sites - Dutch:Werelderfgoed + description: In deze dataset zijn de begrenzingen opgenomen van het Nederlandse cultureel erfgoed dat vanwege haar uitzonderlijke universele waarde door het Werelderfgoed comite van UNESCO is geplaatst op de Werelderfgoedlijst. De gegevens in de dataset zijn conform INSPIRE geharmoniseerd. + keywords: + - Werelderfgoed + - Protected sites + links: + - type: text/html + rel: describedby + title: Metadata as HTML + href: https://www.nationaalgeoregister.nl/geonetwork/srv/metadata/45eaae76-874a-4fe1-88f4-820517e3de73 + hreflang: nl + - type: application/xml + rel: describedby + title: Metadata as iso19139 xml + href: https://www.nationaalgeoregister.nl/geonetwork/srv/metadata/45eaae76-874a-4fe1-88f4-820517e3de73/formatters/xml + hreflang: nl + - type: text/html + rel: tag + title: Referentie naar het concept beschermde gebieden (inspire registry) + href: http://inspire.ec.europa.eu/featureconcept/ProtectedSite + hreflang: nl + - type: application/gml+xml + rel: enclosure + title: Download volledige dataset Werelderfgoed als GML + href: https://service.pdok.nl/rce/ps-ch/wfs/v1_0?request=GetFeature&service=WFS&version=1.1.0&typeName=ps-ch:rce_inspire_polygons&outputFormat=text%2Fxml%3B%20subtype%3Dgml%2F3.1.1 + hreflang: nl + extents: + spatial: + bbox: [4.40, 51.76, 5.80, 52.85] + crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + temporal: + begin: + end: null # or empty + providers: + - type: feature + name: OGR + data: + source_type: GPKG + source: data/PSNL_WGS84.gpkg + # source_srs: EPSG:4258 + # target_srs: EPSG:4326 + source_capabilities: + paging: True + + gdal_ogr_options: + EMPTY_AS_NULL: NO + GDAL_CACHEMAX: 64 + # GDAL_HTTP_PROXY: (optional proxy) + # GDAL_PROXY_AUTH: (optional auth for remote WFS) + CPL_DEBUG: NO + + crs: + - http://www.opengis.net/def/crs/OGC/1.3/CRS84 + - http://www.opengis.net/def/crs/EPSG/0/4326 + - http://www.opengis.net/def/crs/EPSG/0/3857 + - http://www.opengis.net/def/crs/EPSG/0/4258 + - http://www.opengis.net/def/crs/EPSG/0/28992 + storage_crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + id_field: gml_id + title_field: text + layer: rce + + dutch_windmills: + type: collection + title: Windmills within The Netherlands + description: Locations of windmills within the Netherlands from Rijksdienst voor het Cultureel Erfgoed (RCE) INSPIRE WFS. Uses GeoServer WFS v2 backend via OGRProvider. + keywords: + - Netherlands + - INSPIRE + - Windmills + - Heritage + - Holland + - RD + links: + - type: text/html + rel: canonical + title: information + href: https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/291afe4b-4f4b-497c-8026-fb437c4e9c7e + hreflang: nl-NL + extents: + spatial: + bbox: [3.37,50.75,7.21,53.47] + crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + temporal: + begin: + end: null # or empty + providers: + - type: feature + name: OGR + data: + source_type: WFS + source: WFS:https://services.rce.geovoorziening.nl/landschapsatlas/wfs? + source_srs: EPSG:28992 + target_srs: EPSG:4326 + source_capabilities: + paging: True + + source_options: + # OGR_WFS_VERSION: 1.1.0 + OGR_WFS_LOAD_MULTIPLE_LAYER_DEFN: NO + + gdal_ogr_options: + EMPTY_AS_NULL: NO + GDAL_CACHEMAX: 64 + # GDAL_HTTP_PROXY: (optional proxy) + # GDAL_PROXY_AUTH: (optional auth for remote WFS) + CPL_DEBUG: NO + + crs: + - http://www.opengis.net/def/crs/OGC/1.3/CRS84 + - http://www.opengis.net/def/crs/EPSG/0/4326 + - http://www.opengis.net/def/crs/EPSG/0/3857 + - http://www.opengis.net/def/crs/EPSG/0/4258 + - http://www.opengis.net/def/crs/EPSG/0/28992 + storage_crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + + id_field: gml_id + layer: landschapsatlas:Molens + + dutch_castles: + type: collection + title: Castles within The Netherlands + description: Locations of castles within the Netherlands from Rijksdienst voor het Cultureel Erfgoed (RCE) INSPIRE WFS. Uses GeoServer WFS v2 backend via OGRProvider. + keywords: + - Netherlands + - INSPIRE + - Castles + - Heritage + - Holland + - RD + links: + - type: text/html + rel: canonical + title: information + href: https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/291afe4b-4f4b-497c-8026-fb437c4e9c7e + hreflang: nl-NL + extents: + spatial: + bbox: [3.37,50.75,7.21,53.47] + crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + temporal: + begin: + end: null # or empty + providers: + - type: feature + name: OGR + data: + source_type: WFS + source: WFS:https://services.rce.geovoorziening.nl/landschapsatlas/wfs? + # source_srs: EPSG:28992 + # target_srs: EPSG:4326 + source_capabilities: + paging: True + + source_options: + # OGR_WFS_VERSION: 1.1.0 + OGR_WFS_LOAD_MULTIPLE_LAYER_DEFN: NO + + gdal_ogr_options: + EMPTY_AS_NULL: NO + GDAL_CACHEMAX: 64 + # GDAL_HTTP_PROXY: (optional proxy) + # GDAL_PROXY_AUTH: (optional auth for remote WFS) + CPL_DEBUG: NO + + crs: + - http://www.opengis.net/def/crs/OGC/1.3/CRS84 + - http://www.opengis.net/def/crs/EPSG/0/4326 + - http://www.opengis.net/def/crs/EPSG/0/3857 + - http://www.opengis.net/def/crs/EPSG/0/4258 + - http://www.opengis.net/def/crs/EPSG/0/28992 + storage_crs: http://www.opengis.net/def/crs/OGC/1.3/28992 + + id_field: gml_id + layer: landschapsatlas:kastelen + + + StatisticalUnits_Gemeente_2018: + type: collection + title: StatisticalUnits_Gemeente_2018 + description: In deze dataset zijn de begrenzingen opgenomen van Nederlandse Gemeenten uit 2018. De gegevens in de dataset zijn conform INSPIRE geharmoniseerd. + keywords: + - statistiek + - Gemeenten + links: + - type: text/html + rel: describedby + title: Metadata as HTML + href: https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb + hreflang: nl + - type: application/xml + rel: describedby + title: Metadata as iso19139 xml + href: https://www.nationaalgeoregister.nl/geonetwork/srv/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb/formatters/xml + hreflang: nl + - type: text/html + rel: tag + title: Referentie naar het concept statistische eenheden (inspire registry) + href: https://inspire.ec.europa.eu/featureconcept/VectorStatisticalUnit + hreflang: nl + - type: application/gml+xml + rel: enclosure + title: Download volledige dataset als GML + href: https://geodata.nationaalgeoregister.nl/su-vector/wfs?request=GetFeature&version=2.0.0&typeNames=su-vector:SU.VectorStatisticalUnit&filter=%3CFilter+xmlns=%22http://www.opengis.net/ogc%22%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Etessellation_localid%3C/PropertyName%3E%3CLiteral%3Egemeente.2018%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E + hreflang: nl + extents: + spatial: + bbox: [3.10, 50.50, 7.60, 53.80] + crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + temporal: + begin: 2018-01-01T00:00:01Z # start datetime in RFC3339 + end: 2018-12-31T23:59:59Z # end datetime in RFC3339 + providers: + - type: feature + name: OGR + data: + source_type: GPKG + source: data/SU_NL_WGS84.gpkg + # source_srs: EPSG:4326 + # target_srs: EPSG:4326 + source_capabilities: + paging: True + + gdal_ogr_options: + EMPTY_AS_NULL: NO + GDAL_CACHEMAX: 64 + # GDAL_HTTP_PROXY: (optional proxy) + # GDAL_PROXY_AUTH: (optional auth for remote WFS) + CPL_DEBUG: NO + + crs: + - http://www.opengis.net/def/crs/OGC/1.3/CRS84 + - http://www.opengis.net/def/crs/EPSG/0/4326 + - http://www.opengis.net/def/crs/EPSG/0/3857 + - http://www.opengis.net/def/crs/EPSG/0/4258 + - http://www.opengis.net/def/crs/EPSG/0/28992 + storage_crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + + id_field: localid + title_field: geographicalname + layer: su_gemeente_2018 + + StatisticalUnits_Gemeente_2020: + type: collection + title: StatisticalUnits_Gemeente_2020 + description: In deze dataset zijn de begrenzingen opgenomen van Nederlandse Gemeenten uit 2020. De gegevens in de dataset zijn conform INSPIRE geharmoniseerd. + keywords: + - statistiek + - Gemeenten + links: + - type: text/html + rel: describedby + title: Metadata as HTML + href: https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb + hreflang: nl + - type: application/xml + rel: describedby + title: Metadata as iso19139 xml + href: https://www.nationaalgeoregister.nl/geonetwork/srv/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb/formatters/xml + hreflang: nl + - type: text/html + rel: tag + title: Referentie naar het concept statistische eenheden (inspire registry) + href: https://inspire.ec.europa.eu/featureconcept/VectorStatisticalUnit + hreflang: nl + - type: application/gml+xml + rel: enclosure + title: Download volledige dataset als GML + href: https://geodata.nationaalgeoregister.nl/su-vector/wfs?request=GetFeature&version=2.0.0&typeNames=su-vector:SU.VectorStatisticalUnit&filter=%3CFilter+xmlns=%22http://www.opengis.net/ogc%22%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Etessellation_localid%3C/PropertyName%3E%3CLiteral%3Egemeente.2020%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E + hreflang: nl + extents: + spatial: + bbox: [3.10, 50.50, 7.60, 53.80] + crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + temporal: + begin: 2020-01-01T00:00:01Z # start datetime in RFC3339 + end: 2020-12-31T23:59:59Z # end datetime in RFC3339 + providers: + - type: feature + name: OGR + data: + source_type: GPKG + source: data/SU_NL_WGS84.gpkg + # source_srs: EPSG:4326 + # target_srs: EPSG:4326 + source_capabilities: + paging: True + + gdal_ogr_options: + EMPTY_AS_NULL: NO + GDAL_CACHEMAX: 64 + # GDAL_HTTP_PROXY: (optional proxy) + # GDAL_PROXY_AUTH: (optional auth for remote WFS) + CPL_DEBUG: NO + + crs: + - http://www.opengis.net/def/crs/OGC/1.3/CRS84 + - http://www.opengis.net/def/crs/EPSG/0/4326 + - http://www.opengis.net/def/crs/EPSG/0/3857 + - http://www.opengis.net/def/crs/EPSG/0/4258 + - http://www.opengis.net/def/crs/EPSG/0/28992 + storage_crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + + id_field: localid + title_field: geographicalname + layer: su_gemeente_2020 + + StatisticalUnits_Provincie_2019: + type: collection + title: StatisticalUnits_Provincie_2019 + description: In deze dataset zijn de begrenzingen opgenomen van Nederlandse Provincies uit 2019. De gegevens in de dataset zijn conform INSPIRE geharmoniseerd. + keywords: + - statistiek + - Provincies + links: + - type: text/html + rel: describedby + title: Metadata as HTML + href: https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb + hreflang: nl + - type: application/xml + rel: describedby + title: Metadata as iso19139 xml + href: https://www.nationaalgeoregister.nl/geonetwork/srv/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb/formatters/xml + hreflang: nl + - type: text/html + rel: tag + title: Referentie naar het concept statistische eenheden (inspire registry) + href: https://inspire.ec.europa.eu/featureconcept/VectorStatisticalUnit + hreflang: nl + - type: application/gml+xml + rel: enclosure + title: Download volledige dataset als GML + href: https://geodata.nationaalgeoregister.nl/su-vector/wfs?request=GetFeature&version=2.0.0&typeNames=su-vector:SU.VectorStatisticalUnit&filter=%3CFilter+xmlns=%22http://www.opengis.net/ogc%22%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Etessellation_localid%3C/PropertyName%3E%3CLiteral%3Eprovincie.2019%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E + hreflang: nl + extents: + spatial: + bbox: [3.10, 50.50, 7.60, 53.80] + crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + temporal: + begin: 2019-01-01T00:00:01Z # start datetime in RFC3339 + end: 2019-12-31T23:59:59Z # end datetime in RFC3339 + providers: + - type: feature + name: OGR + data: + source_type: GPKG + source: data/SU_NL_WGS84.gpkg + # source_srs: EPSG:4326 + # target_srs: EPSG:4326 + source_capabilities: + paging: True + + gdal_ogr_options: + EMPTY_AS_NULL: NO + GDAL_CACHEMAX: 64 + # GDAL_HTTP_PROXY: (optional proxy) + # GDAL_PROXY_AUTH: (optional auth for remote WFS) + CPL_DEBUG: NO + + crs: + - http://www.opengis.net/def/crs/OGC/1.3/CRS84 + - http://www.opengis.net/def/crs/EPSG/0/4326 + - http://www.opengis.net/def/crs/EPSG/0/3857 + - http://www.opengis.net/def/crs/EPSG/0/4258 + - http://www.opengis.net/def/crs/EPSG/0/28992 + storage_crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + + id_field: localid + title_field: geographicalname + layer: su_provincie_2019 + + StatisticalUnits_Provincie_2020: + type: collection + title: StatisticalUnits_Provincie_2020 + description: In deze dataset zijn de begrenzingen opgenomen van Nederlandse Provincies uit 2020. De gegevens in de dataset zijn conform INSPIRE geharmoniseerd. + keywords: + - statistiek + - Provincies + links: + - type: text/html + rel: describedby + title: Metadata as HTML + href: https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb + hreflang: nl + - type: application/xml + rel: describedby + title: Metadata as iso19139 xml + href: https://www.nationaalgeoregister.nl/geonetwork/srv/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb/formatters/xml + hreflang: nl + - type: text/html + rel: tag + title: Referentie naar het concept statistische eenheden (inspire registry) + href: https://inspire.ec.europa.eu/featureconcept/VectorStatisticalUnit + hreflang: nl + - type: application/gml+xml + rel: enclosure + title: Download volledige dataset als GML + href: https://geodata.nationaalgeoregister.nl/su-vector/wfs?request=GetFeature&version=2.0.0&typeNames=su-vector:SU.VectorStatisticalUnit&filter=%3CFilter+xmlns=%22http://www.opengis.net/ogc%22%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Etessellation_localid%3C/PropertyName%3E%3CLiteral%3Eprovincie.2020%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E + hreflang: nl + extents: + spatial: + bbox: [3.10, 50.50, 7.60, 53.80] + crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + temporal: + begin: 2020-01-01T00:00:01Z # start datetime in RFC3339 + end: 2020-12-31T23:59:59Z # end datetime in RFC3339 + providers: + - type: feature + name: OGR + data: + source_type: GPKG + source: data/SU_NL_WGS84.gpkg + # source_srs: EPSG:4326 + # target_srs: EPSG:4326 + source_capabilities: + paging: True + + gdal_ogr_options: + EMPTY_AS_NULL: NO + GDAL_CACHEMAX: 64 + # GDAL_HTTP_PROXY: (optional proxy) + # GDAL_PROXY_AUTH: (optional auth for remote WFS) + CPL_DEBUG: NO + + crs: + - http://www.opengis.net/def/crs/OGC/1.3/CRS84 + - http://www.opengis.net/def/crs/EPSG/0/4326 + - http://www.opengis.net/def/crs/EPSG/0/3857 + - http://www.opengis.net/def/crs/EPSG/0/4258 + - http://www.opengis.net/def/crs/EPSG/0/28992 + storage_crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + + id_field: localid + title_field: geographicalname + layer: su_provincie_2020 + + StatisticalUnits_NUTS1_2016: + type: collection + title: StatisticalUnits_NUTS1_2016 + description: In deze dataset zijn de begrenzingen opgenomen van Nederlandse NUTS1 indelingen gebaseerd op landsdelen uit 2016. De gegevens in de dataset zijn conform INSPIRE geharmoniseerd. + keywords: + - statistiek + - NUTS + links: + - type: text/html + rel: describedby + title: Metadata as HTML + href: https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb + hreflang: nl + - type: application/xml + rel: describedby + title: Metadata as iso19139 xml + href: https://www.nationaalgeoregister.nl/geonetwork/srv/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb/formatters/xml + hreflang: nl + - type: text/html + rel: tag + title: Referentie naar het concept statistische eenheden (inspire registry) + href: https://inspire.ec.europa.eu/featureconcept/VectorStatisticalUnit + hreflang: nl + - type: application/gml+xml + rel: enclosure + title: Download volledige dataset als GML + href: https://geodata.nationaalgeoregister.nl/su-vector/wfs?request=GetFeature&version=2.0.0&typeNames=su-vector:SU.VectorStatisticalUnit&filter=%3CFilter+xmlns=%22http://www.opengis.net/ogc%22%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Etessellation_localid%3C/PropertyName%3E%3CLiteral%3Enuts1.2016%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E + hreflang: nl + extents: + spatial: + bbox: [3.10, 50.50, 7.60, 53.80] + crs: http://www.opengis.net/def/crs/OGC/1.3/EPSG:4326 + temporal: + begin: 2016-01-01T00:00:01Z # start datetime in RFC3339 + end: 2016-12-31T23:59:59Z # end datetime in RFC3339 + providers: + - type: feature + name: OGR + data: + source_type: GPKG + source: data/SU_NL_WGS84.gpkg + # source_srs: EPSG:4326 + # target_srs: EPSG:4326 + source_capabilities: + paging: True + + gdal_ogr_options: + EMPTY_AS_NULL: NO + GDAL_CACHEMAX: 64 + # GDAL_HTTP_PROXY: (optional proxy) + # GDAL_PROXY_AUTH: (optional auth for remote WFS) + CPL_DEBUG: NO + + crs: + - http://www.opengis.net/def/crs/OGC/1.3/CRS84 + - http://www.opengis.net/def/crs/EPSG/0/4326 + - http://www.opengis.net/def/crs/EPSG/0/3857 + - http://www.opengis.net/def/crs/EPSG/0/4258 + - http://www.opengis.net/def/crs/EPSG/0/28992 + storage_crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + + id_field: localid + title_field: geographicalname + layer: su_nuts1_2016 + + StatisticalUnits_NUTS2_2016: + type: collection + title: StatisticalUnits_NUTS2_2016 + description: In deze dataset zijn de begrenzingen opgenomen van Nederlandse NUTS2 indelingen gebaseerd op provincies uit 2016. De gegevens in de dataset zijn conform INSPIRE geharmoniseerd. + keywords: + - statistiek + - NUTS + links: + - type: text/html + rel: describedby + title: Metadata as HTML + href: https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb + hreflang: nl + - type: application/xml + rel: describedby + title: Metadata as iso19139 xml + href: https://www.nationaalgeoregister.nl/geonetwork/srv/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb/formatters/xml + hreflang: nl + - type: text/html + rel: tag + title: Referentie naar het concept statistische eenheden (inspire registry) + href: https://inspire.ec.europa.eu/featureconcept/VectorStatisticalUnit + hreflang: nl + - type: application/gml+xml + rel: enclosure + title: Download volledige dataset als GML + href: https://geodata.nationaalgeoregister.nl/su-vector/wfs?request=GetFeature&version=2.0.0&typeNames=su-vector:SU.VectorStatisticalUnit&filter=%3CFilter+xmlns=%22http://www.opengis.net/ogc%22%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Etessellation_localid%3C/PropertyName%3E%3CLiteral%3Enuts2.2016%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E + hreflang: nl + extents: + spatial: + bbox: [3.10, 50.50, 7.60, 53.80] + crs: http://www.opengis.net/def/crs/OGC/1.3/CRS846 + temporal: + begin: 2016-01-01T00:00:01Z # start datetime in RFC3339 + end: 2016-12-31T23:59:59Z # end datetime in RFC3339 + providers: + - type: feature + name: OGR + data: + source_type: GPKG + source: data/SU_NL_WGS84.gpkg + # source_srs: EPSG:4326 + # target_srs: EPSG:4326 + source_capabilities: + paging: True + + gdal_ogr_options: + EMPTY_AS_NULL: NO + GDAL_CACHEMAX: 64 + # GDAL_HTTP_PROXY: (optional proxy) + # GDAL_PROXY_AUTH: (optional auth for remote WFS) + CPL_DEBUG: NO + + crs: + - http://www.opengis.net/def/crs/OGC/1.3/CRS84 + - http://www.opengis.net/def/crs/EPSG/0/4326 + - http://www.opengis.net/def/crs/EPSG/0/3857 + - http://www.opengis.net/def/crs/EPSG/0/4258 + - http://www.opengis.net/def/crs/EPSG/0/28992 + storage_crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + + id_field: localid + title_field: geographicalname + layer: su_nuts2_2016 + + StatisticalUnits_NUTS3_2016: + type: collection + title: StatisticalUnits_NUTS3_2016 + description: In deze dataset zijn de begrenzingen opgenomen van Nederlandse NUTS3 indelingen gebaseerd op de COROP gebieden uit 2016. De gegevens in de dataset zijn conform INSPIRE geharmoniseerd. + keywords: + - statistiek + - NUTS + links: + - type: text/html + rel: describedby + title: Metadata as HTML + href: https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb + hreflang: nl + - type: application/xml + rel: describedby + title: Metadata as iso19139 xml + href: https://www.nationaalgeoregister.nl/geonetwork/srv/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb/formatters/xml + hreflang: nl + - type: text/html + rel: tag + title: Referentie naar het concept statistische eenheden (inspire registry) + href: https://inspire.ec.europa.eu/featureconcept/VectorStatisticalUnit + hreflang: nl + - type: application/gml+xml + rel: enclosure + title: Download volledige dataset als GML + href: https://geodata.nationaalgeoregister.nl/su-vector/wfs?request=GetFeature&version=2.0.0&typeNames=su-vector:SU.VectorStatisticalUnit&filter=%3CFilter+xmlns=%22http://www.opengis.net/ogc%22%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Etessellation_localid%3C/PropertyName%3E%3CLiteral%3Enuts3.2016%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E + hreflang: nl + extents: + spatial: + bbox: [3.10, 50.50, 7.60, 53.80] + crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + temporal: + begin: 2016-01-01T00:00:01Z # start datetime in RFC3339 + end: 2016-12-31T23:59:59Z # end datetime in RFC3339 + providers: + - type: feature + name: OGR + data: + source_type: GPKG + source: data/SU_NL_WGS84.gpkg + # source_srs: EPSG:4326 + # target_srs: EPSG:4326 + source_capabilities: + paging: True + + gdal_ogr_options: + EMPTY_AS_NULL: NO + GDAL_CACHEMAX: 64 + # GDAL_HTTP_PROXY: (optional proxy) + # GDAL_PROXY_AUTH: (optional auth for remote WFS) + CPL_DEBUG: NO + + crs: + - http://www.opengis.net/def/crs/OGC/1.3/CRS84 + - http://www.opengis.net/def/crs/EPSG/0/4326 + - http://www.opengis.net/def/crs/EPSG/0/3857 + - http://www.opengis.net/def/crs/EPSG/0/4258 + - http://www.opengis.net/def/crs/EPSG/0/28992 + storage_crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + + id_field: localid + title_field: geographicalname + layer: su_nuts3_2016 + + StatisticalUnits_Gemeente_2016_WFS: + type: collection + title: StatisticalUnits_Gemeente_2016_WFS + description: In deze dataset zijn de begrenzingen opgenomen van Nederlandse Gemeenten uit 2016. De gegevens in de dataset zijn conform INSPIRE geharmoniseerd en uit PDOK su-vector WFS. + keywords: + - statistiek + - Gemeenten + links: + - type: text/html + rel: describedby + title: Metadata as HTML + href: https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb + hreflang: nl + - type: application/xml + rel: describedby + title: Metadata as iso19139 xml + href: https://www.nationaalgeoregister.nl/geonetwork/srv/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb/formatters/xml + hreflang: nl + - type: text/html + rel: tag + title: Referentie naar het concept statistische eenheden (inspire registry) + href: https://inspire.ec.europa.eu/featureconcept/VectorStatisticalUnit + hreflang: nl + - type: application/gml+xml + rel: enclosure + title: Download volledige dataset als GML + href: https://geodata.nationaalgeoregister.nl/su-vector/wfs?request=GetFeature&version=2.0.0&typeNames=su-vector:SU.VectorStatisticalUnit&CQL_FILTER=tessellation_localid=%27gemeente.2016%27 + hreflang: nl + extents: + spatial: + bbox: [3.10, 50.50, 7.60, 53.80] + crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + temporal: + begin: 2016-01-01T00:00:01Z # start datetime in RFC3339 f + end: 2016-12-31T23:59:59Z # end datetime in RFC3339 + providers: + - type: feature + name: OGR + data: + source_type: GeoJSON + source: https://geodata.nationaalgeoregister.nl/su-vector/wfs?request=GetFeature&version=2.0.0&typeNames=su-vector:SU.VectorStatisticalUnit&CQL_FILTER=tessellation_localid=%27gemeente.2016%27&outputFormat=application/json + # source_srs: EPSG:4326 + # target_srs: EPSG:4326 + gdal_ogr_options: + EMPTY_AS_NULL: NO + GDAL_CACHEMAX: 64 + CPL_DEBUG: NO + + crs: + - http://www.opengis.net/def/crs/OGC/1.3/CRS84 + - http://www.opengis.net/def/crs/EPSG/0/4326 + - http://www.opengis.net/def/crs/EPSG/0/3857 + - http://www.opengis.net/def/crs/EPSG/0/4258 + - http://www.opengis.net/def/crs/EPSG/0/28992 + storage_crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + + id_field: localid + title_field: geographicalname + layer: OGRGeoJSON + + StatisticalUnits_Gemeente_2017_WFS: + type: collection + title: StatisticalUnits_Gemeente_2017_WFS + description: In deze dataset zijn de begrenzingen opgenomen van Nederlandse Gemeenten uit 2017. De gegevens in de dataset zijn conform INSPIRE geharmoniseerd en uit PDOK su-vector WFS. + keywords: + - statistiek + - Gemeenten + links: + - type: text/html + rel: describedby + title: Metadata as HTML + href: https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb + hreflang: nl + - type: application/xml + rel: describedby + title: Metadata as iso19139 xml + href: https://www.nationaalgeoregister.nl/geonetwork/srv/metadata/10d1153e-778f-4995-9b6c-7c69b196cccb/formatters/xml + hreflang: nl + - type: text/html + rel: tag + title: Referentie naar het concept statistische eenheden (inspire registry) + href: https://inspire.ec.europa.eu/featureconcept/VectorStatisticalUnit + hreflang: nl + - type: application/gml+xml + rel: enclosure + title: Download volledige dataset als GML + href: https://geodata.nationaalgeoregister.nl/su-vector/wfs?request=GetFeature&version=2.0.0&typeNames=su-vector:SU.VectorStatisticalUnit&CQL_FILTER=tessellation_localid=%27gemeente.2017%27 + hreflang: nl + extents: + spatial: + bbox: [3.10, 50.50, 7.60, 53.80] + crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + temporal: + begin: 2017-01-01T00:00:01Z # start datetime in RFC3339 f + end: 2017-12-31T23:59:59Z # end datetime in RFC3339 + providers: + - type: feature + name: OGR + data: + source_type: GeoJSON + source: https://geodata.nationaalgeoregister.nl/su-vector/wfs?request=GetFeature&version=2.0.0&typeNames=su-vector:SU.VectorStatisticalUnit&CQL_FILTER=tessellation_localid=%27gemeente.2017%27&outputFormat=application/json + # source_srs: EPSG:4326 + # target_srs: EPSG:4326 + gdal_ogr_options: + EMPTY_AS_NULL: NO + GDAL_CACHEMAX: 64 + CPL_DEBUG: NO + crs: + - http://www.opengis.net/def/crs/OGC/1.3/CRS84 + - http://www.opengis.net/def/crs/EPSG/0/4326 + - http://www.opengis.net/def/crs/EPSG/0/3857 + - http://www.opengis.net/def/crs/EPSG/0/4258 + - http://www.opengis.net/def/crs/EPSG/0/28992 + storage_crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84 + + id_field: localid + title_field: geographicalname + layer: OGRGeoJSON diff --git a/services/pygeoapi/local.config.yml b/services/pygeoapi/local.config.yml index 850a9f5..e81e41b 100644 --- a/services/pygeoapi/local.config.yml +++ b/services/pygeoapi/local.config.yml @@ -15,11 +15,6 @@ server: # url: https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png # attribution: 'Wikimedia maps | Map data © OpenStreetMap contributors' ogc_schemas_location: /schemas.opengis.net - api_rules: - # api_version: 1.2.3 # omit to use pygeoapi's software version - # strict_slashes: true # trailing slashes will not be allowed and result in a 404 - # url_prefix: 'v{api_major}' # adds a /v1 prefix to all URL paths - version_header: X-API-Version # add a response header of this name with the API version logging: level: ERROR