mirror of
https://github.com/marceloprates/prettymaps.git
synced 2025-01-17 13:08:14 +01:00
Merge pull request #56 from sacovo/patch-1
Add retain_all to get_streets() for perimeter
This commit is contained in:
commit
660019b60b
@ -270,6 +270,7 @@ def get_streets(
|
||||
unary_union(perimeter.to_crs(3174).buffer(buffer).to_crs(4326).geometry)
|
||||
if buffer > 0
|
||||
else unary_union(perimeter.geometry),
|
||||
retain_all=retain_all,
|
||||
custom_filter=custom_filter,
|
||||
)
|
||||
streets = ox.project_graph(streets)
|
||||
|
Loading…
x
Reference in New Issue
Block a user