Skip to content

Commit

Permalink
Add reason for not using REACH_DESTINATION
Browse files Browse the repository at this point in the history
  • Loading branch information
ratrun committed Jul 6, 2024
1 parent ce1235a commit 40d970d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ 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);
}

Expand Down

0 comments on commit 40d970d

Please sign in to comment.