Merge pull request #56 from sacovo/patch-1

Add retain_all to get_streets() for perimeter
pull/57/head^2
Marcelo de Oliveira Rosa Prates 2021-09-13 16:44:08 -03:00 zatwierdzone przez GitHub
commit 660019b60b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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