From 9942624167ec0d16d3b1a8b37f3705c0d826a35b Mon Sep 17 00:00:00 2001 From: Sara <sarasdj@stud.ntnu.no> Date: Tue, 23 Apr 2024 14:56:47 +0200 Subject: [PATCH] update: minor update --- server/map_handler/add_new_lake.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/map_handler/add_new_lake.py b/server/map_handler/add_new_lake.py index c8802078..f2db0741 100644 --- a/server/map_handler/add_new_lake.py +++ b/server/map_handler/add_new_lake.py @@ -1,7 +1,7 @@ import os import json -from math import cos, sqrt, fabs import random +from math import cos import geopandas as gpd from matplotlib import pyplot as plt from shapely.ops import linemerge, unary_union, polygonize @@ -10,7 +10,6 @@ from shapely.geometry import Polygon, LineString, MultiLineString from server.consts import LAKE_RELATIONS_PATH -# Read a json file with relation data and send to response object def cut_map(self, cursor, lake_name: str, cell_size_in_km: float = 0.5): """ Cuts a map into a grid based on a selected cell size -- GitLab