Skip to content
Snippets Groups Projects
Commit 3412422c authored by Sara Savanovic Djordjevic's avatar Sara Savanovic Djordjevic
Browse files

fix: rounded_tile used before assignment

parent deee9c6d
No related branches found
No related tags found
1 merge request!16Clhp map into main
No preview for this file type
No preview for this file type
......@@ -67,7 +67,8 @@ def cut_map(self, cursor, lake_name: str, cell_size_in_km: float = 0.5):
for coords in tile.exterior.coords:
rounded_coords = (round(coords[0], 4), round(coords[1], 4))
rounded_coordinates.append(rounded_coords)
rounded_tile = Polygon(rounded_coordinates)
rounded_tile = Polygon(rounded_coordinates)
# Create new feature object
tile_feature = {
......
[
"Mjøsa",
"Skumsjøen"
"Skumsjøen",
"Mjsa"
]
\ No newline at end of file
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment