brouter icon indicating copy to clipboard operation
brouter copied to clipboard

Avoid routing through fords

Open joernheissler opened this issue 4 years ago • 1 comments

Brouter routes through fords, e.g.:

  • https://www.openstreetmap.org/way/828241457
  • https://osm.wulf.eu.org/IMG_20200720_191125.jpg
  • https://osm.wulf.eu.org/IMG_20200720_191108.jpg (sign: horse/bridle ford, water depth 60cm, danger if pumps are operating) While physically and legally it is possible to cross that stream by foot or on bicycle, I assume most people would prefer taking a detour.

Could you please set a higher cost for fords, maybe based on depth and mode of transport?

Cheers :)

joernheissler avatar Jul 21 '20 14:07 joernheissler

As an alternative, you can try

https://github.com/poutnikl/Brouter-profiles/blob/master/BikeProfiles/Trekking-dry.brf

or

https://github.com/poutnikl/Trekking-Poutnik/blob/develop/Trekking-Poutnik.brf

which have explicit ford penalty handling, that is changing with the value of MTB_factor ( more at https://github.com/poutnikl/Trekking-Poutnik/wiki )

AFAIK, such things as a ford depth are not provided in BRouter rd5 files for now, exposed to profiles ( at least was not when the ford related code was written ). So general ford approach was chosen, possibly too strict to some fords and too weak for others.

There is considered one time ford node/way costs. If the ford is mapped as the OSM way, then also the ford costfactor.

poutnikl avatar Jul 21 '20 15:07 poutnikl