From 1d80b69c40d7af905831871bf955e38dee7b5c0e Mon Sep 17 00:00:00 2001
From: spwoodcock <sam.woodcock@protonmail.com>
Date: Tue, 30 Jul 2024 00:10:41 +0100
Subject: [PATCH] refactor(backend): remove additional warning logs from
 check_crs function

---
 src/backend/app/db/postgis_utils.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/backend/app/db/postgis_utils.py b/src/backend/app/db/postgis_utils.py
index 74e3f2a9fd..38f0410a8d 100644
--- a/src/backend/app/db/postgis_utils.py
+++ b/src/backend/app/db/postgis_utils.py
@@ -536,11 +536,8 @@ def is_valid_coordinate(coord):
             raise HTTPException(status_code=400, detail=error_message)
         return
 
-    log.warning(input_geojson)
-    log.warning(input_geojson.get("type"))
     if (input_geojson_type := input_geojson.get("type")) == "FeatureCollection":
         features = input_geojson.get("features", [])
-        log.warning(features)
         coordinates = (
             features[-1].get("geometry", {}).get("coordinates", []) if features else []
         )
@@ -555,7 +552,6 @@ def is_valid_coordinate(coord):
             first_coordinate = coordinates
             coordinates = coordinates[0]
 
-    log.warning(coordinates)
     if not is_valid_coordinate(first_coordinate):
         log.error(error_message)
         raise HTTPException(status_code=400, detail=error_message)