osrm-backend icon indicating copy to clipboard operation
osrm-backend copied to clipboard

feat(match): always collapse legs in sub_matchings route results

Open Ephtolens opened this issue 5 months ago • 0 comments

Issue

Hi, I'm proposing an evolution in the match API, I've open an issue for the occasion : Legs are not collapsed in /match if no waypoints are provided

Do you think this is a good approach? I need both multiple matchings and leg collapsing to work, but they don't seem to be compatible because of the waypoints parameter. I can’t set waypoints, since I want to retrieve multiple sub-matchings. However, without it, I can't get the legs to collapse properly. I felt stuck, so I ended up with this workaround

Tasklist

Requirements / Relations

Ephtolens avatar Jul 18 '25 07:07 Ephtolens