Skip to content

Commit 25d3fc0

Browse files
Handle osmnx.features_from_bbox interface change (#1058)
* Handle `osmnx.features_from_bbox` interface change * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 57cdd60 commit 25d3fc0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

leafmap/osm.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,9 @@ def osm_gdf_from_bbox(north: float, south: float, east: float, west: float, tags
293293
"osmnx package is required. Please install it using 'pip install osmnx'"
294294
)
295295

296-
gdf = ox.features_from_bbox(north, south, east, west, tags)
296+
gdf = ox.features_from_bbox(
297+
north=north, south=south, east=east, west=west, tags=tags
298+
)
297299
return gdf
298300

299301

0 commit comments

Comments
 (0)