opengis: force projection for GeoJSON (#85670)
gitea/passerelle/pipeline/head This commit looks good
Details
gitea/passerelle/pipeline/head This commit looks good
Details
This commit is contained in:
parent
514c3f1995
commit
ad6d1dbaf3
|
@ -161,6 +161,9 @@ class OpenGIS(BaseResource):
|
|||
'request': 'GetFeature',
|
||||
self.get_typename_label(): typename or self.query_layer,
|
||||
'outputFormat': self.get_output_format(),
|
||||
# force usage of EPSG:4326 (=WGS 84) as required by GeoJSON
|
||||
# https://www.rfc-editor.org/rfc/rfc7946#section-4
|
||||
'srsName': 'EPSG:4326',
|
||||
}
|
||||
if property_name:
|
||||
params['propertyName'] = property_name
|
||||
|
|
Loading…
Reference in New Issue