From b38a266bea2534d494e6fdbfe02d59082323326a Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Fri, 28 Mar 2025 16:40:50 +0100 Subject: [PATCH] # HOTFIX * fixes bug where new wsg84 check on intersection microservice did not allow other spatial systems anymore --- konova/utils/schneider/fetcher.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/konova/utils/schneider/fetcher.py b/konova/utils/schneider/fetcher.py index 6e4cc209..2fa79cb9 100644 --- a/konova/utils/schneider/fetcher.py +++ b/konova/utils/schneider/fetcher.py @@ -11,6 +11,7 @@ from json import JSONDecodeError import requests from konova.sub_settings import schneider_settings +from konova.sub_settings.lanis_settings import DEFAULT_SRID from konova.sub_settings.proxy_settings import PROXIES @@ -34,6 +35,7 @@ class ParcelFetcher: if geom.area < buffer_threshold: # Fallback for malicious geometries which are way too small and would disappear on negative buffering geom = geometry.geom + geom.transform(DEFAULT_SRID) self.geojson = geom.ewkt self.results = []