7f047348b52a9646f8bae61a8d21fe5af1fcfadf
As for the 'layer' attribute, the 'id_field' should be specified in the configuration file for the OGRProvider. The 'get' method of a OGRProvider instance (e.g. when requesting a single feature) needs the feature ID when setting an attribute filter on the layer. If the 'id_field' attribute is omitted in the configuration file, the error thrown is more explicit.
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.
Please read the docs at https://docs.pygeoapi.io for more information.
Description
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.
Languages
nesC
76.3%
Python
22.3%
HTML
1.3%