Skip to content

Commit

Permalink
increase assumed car width to 1.9m
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Dec 5, 2022
1 parent 13e7990 commit 8144401
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ fun hasDubiousRoadWidth(tags: Map<String, String>): Boolean? {
if (isOneway(tags)) {
if (roadType == "service" || roadType == "track") {
// a service road (e.g. driveway) or just some track should be at least as broad
// as the assumed width of a car
return usableWidth < 1.75f
// as the default profile of OSRM considers as passable by cars
return usableWidth < 1.9f
} else {
// all others should at least be broad enough to accommodate a truck
return usableWidth < 2.6f
Expand Down

0 comments on commit 8144401

Please sign in to comment.