mirror of
https://github.com/marceloprates/prettymaps.git
synced 2025-08-31 02:00:16 +02:00
Add retain_all to get_streets() for perimeter
Commit #33 added the option, but only when specifying a point and radius, not a perimeter.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user