From 3bc53c2442356963f574638a2a107957bdbf8edb Mon Sep 17 00:00:00 2001 From: kshtiijrajsharma Date: Thu, 7 Dec 2023 09:49:36 +0545 Subject: [PATCH] use st_intersect instead of stwithin in rawdataapi call --- backend/core/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/core/utils.py b/backend/core/utils.py index 0f4ac3f7..9d0a9f3b 100644 --- a/backend/core/utils.py +++ b/backend/core/utils.py @@ -69,6 +69,7 @@ def request_snapshot(self, geometry): "geometry": json.loads(geometry), "filters": {"tags": {"all_geometry": {"join_or": {"building": []}}}}, "geometryType": ["polygon"], + "useStWithin": "false", } response = requests.post( f"{self.BASE_API_URL}/snapshot/", data=json.dumps(payload), headers=headers