osrm-backend
osrm-backend copied to clipboard
MAX_COLLAPSE_DISTANCE and precise pedestrian steps
We are trying to route pedestrian with precise steps, including the road crossings which we mapped for every intersection on a small region. Our government partners and transit operators in the region want to be able to get precise routing for pedestrian to assess route security (probability of accidents). However, since MAX_COLLAPSE_DISTANCE is set to 30, any mapped crossing (footway=crossing) shorter than 30 m is merged and ignored in the steps, so that makes our analysis impossible since we don't know the total distance for which the pedestrian is crossing the road vs the distance the pedestrian is on a sidewalk or on a designated footpath.
Would it be possible to add MAX_COLLAPSE_DISTANCE to the main routing parameters or in the lua profile so we do not need to fork and maintain a branch just for this? Thanks!