Skip to content

Commit

Permalink
Revert "Update core/src/main/java/com/graphhopper/routing/util/parser…
Browse files Browse the repository at this point in the history
…s/BikeCommonAverageSpeedParser.java"

This reverts commit 3b83d95.
  • Loading branch information
ratrun committed Aug 23, 2024
1 parent 3b83d95 commit 43e7594
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,8 @@ else if (way.hasTag("bicycle", "yes"))
speed = PUSHING_SECTION_SPEED; // unknown surface
} else if (way.hasTag("service")) {
speed = highwaySpeeds.get("living_street");
} else if ("bridleway".equals(highwayValue) && surfaceSpeed != null ) {
speed = surfaceSpeed;
} else if ("track".equals(highwayValue) {
} else if ("track".equals(highwayValue) ||
"bridleway".equals(highwayValue) ) {
if (surfaceSpeed != null)
speed = surfaceSpeed;
else if (trackTypeSpeeds.containsKey(trackTypeValue))
Expand Down

0 comments on commit 43e7594

Please sign in to comment.