From aa2680d0dc6d696512b949de56b7e767b53d999b Mon Sep 17 00:00:00 2001 From: sujanadh Date: Tue, 23 Jan 2024 11:42:09 +0545 Subject: [PATCH] hotfix: geom type not populated with feature type --- src/backend/app/projects/project_crud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/app/projects/project_crud.py b/src/backend/app/projects/project_crud.py index 973f0aa5a0..9329a8d488 100644 --- a/src/backend/app/projects/project_crud.py +++ b/src/backend/app/projects/project_crud.py @@ -617,7 +617,7 @@ async def get_data_extract_url( } } - if geom_type := aoi.get("type") == "FeatureCollection": + if (geom_type := aoi.get("type")) == "FeatureCollection": # Convert each feature into a Shapely geometry geometries = [ shape(feature.get("geometry")) for feature in aoi.get("features", [])