Skip to content

Commit 4c530c6

Browse files
Merge pull request #129 from HalFrgrd/patch-1
Use `retain_all` when fetching graph
2 parents c090ade + 68323c5 commit 4c530c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

prettymaps/fetch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def get_gdf(
157157
if layer in ["streets", "railway", "waterway"]:
158158
graph = ox.graph_from_polygon(
159159
bbox,
160+
retain_all=True,
160161
custom_filter=custom_filter,
161162
truncate_by_edge=True,
162163
)

0 commit comments

Comments
 (0)