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

update: add cell size, height and with to JSON relaiton fiel

parent 024502a8
No related branches found
No related tags found
1 merge request!14Clhp map
No preview for this file type
......@@ -102,6 +102,9 @@ def cut_map(self, cursor, lake_name: str, cell_size_in_km=0.5):
'type': 'FeatureCollection',
'features': features,
'tile_count': sub_div_id, # Add the last subdivision ID as number of tiles
'cell_width': cell_width,
'cell_height': cell_height,
'cell_size_in_km': cell_size_in_km
}
# Add lake name to database
......
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