Open kaligrafy opened 2 years ago
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!
Seems reasonable - want to submit a PR that implements that?
Is it possible to add it to the lua profile? Is a parameter for this in the lua profile would be available during the processing stage?
Take a look at the max_speed_for_map_matching
and continue_straight_at_waypoint
properties that are set in car.lua
- these don't get used by processing, but they are saved into the routing files so that they can be used at query time - that's what you'd want for this parameter.
OK, thanks!
This issue seems to be stale. It will be closed in 30 days if no further activity occurs.
We will propose a PR soon for this, please keep open.
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!