diff --git a/prettymaps/fetch.py b/prettymaps/fetch.py index 0bdbabf..a1c7c8e 100644 --- a/prettymaps/fetch.py +++ b/prettymaps/fetch.py @@ -412,6 +412,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, )