Skip to content

Commit

Permalink
osmnx to bbox.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot committed Jul 17, 2024
1 parent df643e4 commit b2c13da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maps4fs/generator/texture.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def polygons(
try:
with warnings.catch_warnings():
warnings.simplefilter("ignore", DeprecationWarning)
objects = ox.features_from_bbox(*self._bbox, tags=tags)
objects = ox.features_from_bbox(bbox=self._bbox, tags=tags)
except Exception as e:
self.logger.warning(f"Error fetching objects for tags: {tags}.")
self.logger.warning(e)
Expand Down

0 comments on commit b2c13da

Please sign in to comment.