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
474 stars 255 forks source link

support text/html encoding request in headers #87

Closed jorgejesus closed 5 years ago

jorgejesus commented 5 years ago

Currently the default output of pygeoapi is a json format encoding with html only being supported when using f=html on the requests

Sofwares that are not geospatial aware e.g browser should automatically display the html formating. This could be achieved by by reading text/hml encoding on the HTTP header request

https://github.com/opengeospatial/WFS_FES/blob/75d7c7839aca8c27ad9f8590727b37e110cfa0e7/placeholder-additional-conformance-class/parameters/f.yaml

discussion: https://github.com/opengeospatial/WFS_FES/issues/179

possibilities:

tomkralidis commented 5 years ago

Implemented in #88