Skip to content

Commit

Permalink
Update core/src/main/java/com/graphhopper/routing/util/parsers/FootPr…
Browse files Browse the repository at this point in the history
…iorityParser.java

Co-authored-by: Peter <[email protected]>
  • Loading branch information
ratrun and karussell authored Jul 6, 2024
1 parent 40d970d commit b789bc4
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ void collect(ReaderWay way, TreeMap<Double, PriorityCode> weightToPrioMap) {
weightToPrioMap.put(100d, PREFER);

if (way.hasTag("foot", "use_sidepath")) {
// We use VERY_BAD and not REACH_DESTINATION in order to avoid too long detours, see
// https://community.openstreetmap.org/t/foot-use-sidepath-sinnvoll-bei-separat-kartierten-gehwegen/115654
weightToPrioMap.put(100d, VERY_BAD);
weightToPrioMap.put(100d, VERY_BAD); // see #3035
}

double maxSpeed = Math.max(getMaxSpeed(way, false), getMaxSpeed(way, true));
Expand Down

0 comments on commit b789bc4

Please sign in to comment.