geopython / pygeoapi

pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.
https://pygeoapi.io
MIT License
460 stars 250 forks source link

EDR incorrect name of `parameter-name` query parameter #1642

Closed ricardogsilva closed 1 month ago

ricardogsilva commented 2 months ago

According to section 8.2 of the OGC API - EDR version 1.1, EDR queries support a query parameter named parameter-name.

pygeoapi instead expects to find a parameter_names parameter and is thus slightly misaligned with the standard. This can be seen in:

https://github.com/geopython/pygeoapi/blob/17080d88b0cc10bc8114d7373a43326da4cea163/pygeoapi/api/environmental_data_retrieval.py#L105