Add retain_all to get_streets() for perimeter

Commit #33 added the option, but only when specifying a point and radius, not a perimeter.
pull/56/head
Sandro Covo 2021-09-07 08:43:18 +02:00
rodzic 560ecf95ca
commit 060affb1e2
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -170,6 +170,7 @@ def get_streets(
unary_union(perimeter.geometry).buffer(buffer)
if buffer > 0
else unary_union(perimeter.geometry),
retain_all=retain_all,
custom_filter=custom_filter,
)
streets = ox.project_graph(streets)