Skip to content

Commit

Permalink
remove another unique_id
Browse files Browse the repository at this point in the history
  • Loading branch information
EwoutH committed Sep 25, 2024
1 parent 4737d8d commit 0d63223
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gis/population/population/space.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations

import gzip
import uuid

import geopandas as gpd
import mesa
Expand Down Expand Up @@ -47,7 +46,7 @@ def load_data(self, population_gzip_file, lake_zip_file, world_zip_file, model):
raster_layer.total_bounds = world_size.total_bounds
self.add_layer(raster_layer)
self.lake = gpd.GeoDataFrame.from_file(lake_zip_file).geometry[0]
self.add_agents(GeoAgent(uuid.uuid4().int, model, self.lake, self.crs))
self.add_agents(GeoAgent(model, self.lake, self.crs))

@property
def population_layer(self):
Expand Down

0 comments on commit 0d63223

Please sign in to comment.