diff --git a/city_metrix/layers/open_street_map.py b/city_metrix/layers/open_street_map.py index a56ff6b..8a32936 100644 --- a/city_metrix/layers/open_street_map.py +++ b/city_metrix/layers/open_street_map.py @@ -54,10 +54,3 @@ def get_data(self, bbox): osm_feature = osm_feature.reset_index()[keep_col] return osm_feature - - def write(self, output_path): - self.data['bbox'] = str(self.data.total_bounds) - self.data['osm_class'] = str(self.osm_class.value) - - # Write to a GeoJSON file - self.data.to_file(output_path, driver='GeoJSON') diff --git a/environment.yml b/environment.yml index 7e05978..24ec040 100644 --- a/environment.yml +++ b/environment.yml @@ -13,7 +13,7 @@ dependencies: - xarray-spatial=0.3.7 - xee=0.0.3 - utm=0.7.0 - - osmnx=1.8.1 + - osmnx=1.9.0 - dask[complete]=2023.11.0 - matplotlib=3.8.2 - jupyterlab=4.0.10