Merge pull request #129 from HalFrgrd/patch-1

Use `retain_all` when fetching graph
This commit is contained in:
Marcelo de Oliveira Rosa Prates
2025-01-12 13:39:29 -03:00
committed by GitHub

View File

@@ -157,6 +157,7 @@ def get_gdf(
if layer in ["streets", "railway", "waterway"]:
graph = ox.graph_from_polygon(
bbox,
retain_all=True,
custom_filter=custom_filter,
truncate_by_edge=True,
)