3 Commits

Author SHA1 Message Date
Marcelo de Oliveira Rosa Prates
2da2395112 Update setup.py 2025-01-12 13:40:30 -03:00
Marcelo de Oliveira Rosa Prates
4c530c6491 Merge pull request #129 from HalFrgrd/patch-1
Use `retain_all` when fetching graph
2025-01-12 13:39:29 -03:00
HalFrgrd
68323c567e Use retain_all when fetching graph 2024-07-06 14:16:02 +01:00
2 changed files with 2 additions and 1 deletions

View File

@@ -157,6 +157,7 @@ def get_gdf(
if layer in ["streets", "railway", "waterway"]:
graph = ox.graph_from_polygon(
bbox,
retain_all=True,
custom_filter=custom_filter,
truncate_by_edge=True,
)

View File

@@ -7,7 +7,7 @@ presets_dir = os.path.abspath(os.path.join(os.path.pardir, "presets"))
setup(
name="prettymaps",
version="v1.3.1",
version="v1.3.2",
description="A simple python library to draw pretty maps from OpenStreetMap data",
long_description=parent_dir.joinpath("README.md").read_text(),
long_description_content_type="text/markdown",