mirror of
https://github.com/marceloprates/prettymaps.git
synced 2025-08-09 16:17:17 +02:00
Use retain_all
when fetching graph
This commit is contained in:
@@ -157,6 +157,7 @@ def get_gdf(
|
|||||||
if layer in ["streets", "railway", "waterway"]:
|
if layer in ["streets", "railway", "waterway"]:
|
||||||
graph = ox.graph_from_polygon(
|
graph = ox.graph_from_polygon(
|
||||||
bbox,
|
bbox,
|
||||||
|
retain_all=True,
|
||||||
custom_filter=custom_filter,
|
custom_filter=custom_filter,
|
||||||
truncate_by_edge=True,
|
truncate_by_edge=True,
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user