diff --git a/server/map/__pycache__/get_relation.cpython-311.pyc b/server/map/__pycache__/get_relation.cpython-311.pyc index 3b204b16e11294fd9832026311597b2109e3ac82..7093df81dd8e6ae620eb9701e3bdc1063698d730 100644 Binary files a/server/map/__pycache__/get_relation.cpython-311.pyc and b/server/map/__pycache__/get_relation.cpython-311.pyc differ diff --git a/server/map/get_relation.py b/server/map/get_relation.py index 81a91db99ddf7522d17986542f463450098d37c7..84815af0da3325371a8e8537194702ced967b12f 100644 --- a/server/map/get_relation.py +++ b/server/map/get_relation.py @@ -28,8 +28,8 @@ def get_relation(self, body_of_water: str): # NB: implement body_of_water polygon_counter = 1 num_of_polygons = len(polygons) - print("Dividing map... This may take a few minutes. As reference, " - "a cell size of 0.01 takes approximately 13 minutes") + print("Dividing map... This may take a few minutes. As a reference, " + "a cell size of 0.01 takes approximately 13 minutes to complete.") # Divide all polygons into sections for polygon in polygons: cell_size = 0.04 # NB smaller values require patience @@ -51,6 +51,7 @@ def get_relation(self, body_of_water: str): # NB: implement body_of_water tiles = gpd.GeoDataFrame(geometry=divided_map) + print("Plotting... This may take some time too...") # NB test plot fig, ax = plt.subplots() ax.set_aspect(1.5)