Skip to content

Commit

Permalink
adds other road types to iron edges filter
Browse files Browse the repository at this point in the history
  • Loading branch information
songololo committed Nov 28, 2024
1 parent 244c98a commit 7e2c916
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "cityseer"
version = '4.16.14'
version = '4.16.15'
description = "Computational tools for network-based pedestrian-scale urban analysis"
readme = "README.md"
requires-python = ">=3.10, <3.14"
Expand Down
6 changes: 6 additions & 0 deletions pysrc/cityseer/tools/graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,10 +572,16 @@ def nx_iron_edges(
hwy_tags = _tags_from_edge_key(edge_data, "highways")
if not hwy_tags.intersection(
[
"motorway",
"motorway_link",
"trunk",
"trunk_link",
"primary",
"primary_link",
"secondary",
"secondary_link",
"tertiary",
"tertiary_link",
"residential",
"service",
]
Expand Down

0 comments on commit 7e2c916

Please sign in to comment.