Skip to content

Commit

Permalink
Merge pull request #193 from HSLdevcom/safer-designated-cycleway
Browse files Browse the repository at this point in the history
Adjust safety and permissions of designated cycling ways
  • Loading branch information
pailakka authored Jan 12, 2018
2 parents bfa6c8c + eff6982 commit b262398
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ public void populateProperties(WayPropertySet props) {
props.setProperties("highway=trail", StreetTraversalPermission.NONE);
props.setProperties("highway=*;informal=yes", StreetTraversalPermission.NONE);

/* bicycle=designated, but no bike infrastructure is present */
props.setProperties("highway=*;bicycle=designated",
StreetTraversalPermission.ALL, 0.97, 0.97);

/* PEDESTRIAN */
props.setProperties("highway=corridor", StreetTraversalPermission.PEDESTRIAN);
props.setProperties("highway=steps", StreetTraversalPermission.PEDESTRIAN);
Expand Down Expand Up @@ -302,6 +298,8 @@ public void populateProperties(WayPropertySet props) {
StreetTraversalPermission.PEDESTRIAN_AND_BICYCLE, 0.9, 0.9);
props.setProperties("highway=pedestrian;bicycle=designated",
StreetTraversalPermission.PEDESTRIAN_AND_BICYCLE, 0.75, 0.75);
props.setProperties("highway=cycleway;bicycle=designated",
StreetTraversalPermission.PEDESTRIAN_AND_BICYCLE, 1.1, 1.1);

/* sidewalk and crosswalk */
props.setProperties("footway=sidewalk;highway=footway;bicycle=yes",
Expand Down

0 comments on commit b262398

Please sign in to comment.