geopython / pywps

PyWPS is an implementation of the Web Processing Service standard from the Open Geospatial Consortium. PyWPS is written in Python.
https://pywps.org
MIT License
175 stars 117 forks source link

Update GeoJSON mimetype for validation. #603

Closed huard closed 3 years ago

huard commented 3 years ago

Description

Environment

The GeoJSON mimetype was updated to standard in formats/ (Format('application/geo+json', extension='.geojson'),, but not in validators/ ('application/vnd.geo+json': validategeojson). Using validation mode.SIMPLE raises an error due to the mimetype mismatch.