Skip to content

Commit

Permalink
bumps version; tweaks default OSM query
Browse files Browse the repository at this point in the history
  • Loading branch information
songololo committed Oct 6, 2023
1 parent 1a84656 commit 82cc8f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
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.1.0b12'
version = '4.1.0'
description = "Computational tools for network-based pedestrian-scale urban analysis"
readme = "README.md"
requires-python = ">=3.10, <3.12"
Expand Down
12 changes: 4 additions & 8 deletions pysrc/cityseer/tools/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,19 +229,15 @@ def osm_graph_from_poly(
(
way["highway"]
["area"!="yes"]
["highway"!~"motorway|motorway_link|bus_guideway|busway|escape|raceway|proposed|planned|abandoned|platform|construction|cycleway"]
["service"!~"parking_aisle"]
["amenity"!~"charging_station|parking|fuel|motorcycle_parking|parking_entrance|parking_space"]
["access"!~"private|customers"]
["footway"!~"sidewalk|traffic_island"]
["highway"!~"motorway|motorway_link|bus_guideway|busway|escape|raceway|proposed|planned|abandoned|platform|construction|emergency_bay|rest_area"]
["service"!~"parking_aisle|driveway|drive-through|slipway"] ["amenity"!~"charging_station|parking|fuel|motorcycle_parking|parking_entrance|parking_space"]
["footway"!~"sidewalk|traffic_island|crossing"]
["indoor"!="yes"]
["level"!="-1"]
["level"!="-2"]
["level"!="-3"]
["level"!="-4"]
["level"!="-5"]
["conveying"!="yes"]
(poly:"{geom_osm}");
(poly:"{geom_osm}");
);
out body;
>;
Expand Down

0 comments on commit 82cc8f5

Please sign in to comment.