# Server proxy for client parcel wfs

* refactors map_proxy.py
* adds proxy support for parcel wfs
This commit is contained in:
mpeltriaux 2023-02-13 10:55:58 +01:00
parent 51db1b2f5d
commit 4052105e1d

View File

@ -80,6 +80,12 @@ class ClientProxyParcelWFS(BaseClientProxyView):
content, response_code = self.perform_url_call(url, auth=auth) content, response_code = self.perform_url_call(url, auth=auth)
body = json.loads(content) body = json.loads(content)
body["crs"] = {
"type": "name",
"properties": {
"name": "urn:ogc:def:crs:EPSG::25832"
}
}
if response_code != 200: if response_code != 200:
return JsonResponse({ return JsonResponse({
"status_code": response_code, "status_code": response_code,