Skip to content

Commit

Permalink
Merge branch 'living_street-cycleway' into aachen
Browse files Browse the repository at this point in the history
  • Loading branch information
hbruch committed Jul 28, 2024
2 parents 59e251c + 9af1978 commit bfd2e36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/osm/Germany.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Lower safety values make an OSM way more desirable and higher values less desira
| `highway=track; present(surface)` | `PEDESTRIAN_AND_BICYCLE` | | |
| `highway=residential; junction=roundabout` | `ALL` | 0.98 | |
| `present(highway); junction=roundabout` | `BICYCLE_AND_CAR` | | |
| `highway=living_street; present(cycleway)` | `ALL` | 0.85 | |
| `highway=pedestrian` | `PEDESTRIAN` | | |
| `highway=residential; maxspeed=30` | `ALL` | 0.9 | |
| `highway=footway; bicycle=yes` | `PEDESTRIAN_AND_BICYCLE` | 0.8 | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,7 @@ public void populateProperties(WayPropertySet props) {

// Living streets with cycleways are usually accessible for all modes
// https://overpass-turbo.eu/s/1OPP
props.setProperties(
"highway=living_street;cycleway=*",
withModes(ALL).bicycleSafety(0.85)
);
props.setProperties("highway=living_street;cycleway=*", withModes(ALL).bicycleSafety(0.85));

// Pedestrian zones in Germany are forbidden for bicycles by default
props.setProperties("highway=pedestrian", withModes(PEDESTRIAN));
Expand Down

0 comments on commit bfd2e36

Please sign in to comment.