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 = []