diff --git a/server/map_handler/add_new_lake.py b/server/map_handler/add_new_lake.py index c8802078337681a88ab7bec4d23de6eb3be8a41d..f2db07411e69a85212976a8d1c3093795a22e86b 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