Merge pull request #56 from sacovo/patch-1

Add retain_all to get_streets() for perimeter
This commit is contained in:
Marcelo de Oliveira Rosa Prates 2021-09-13 16:44:08 -03:00 committed by GitHub
commit 660019b60b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)