Hi,
Mapmatching is working great when dealing with a track with all points near the network.
However there are situations where some of the track points are and should stay out of the network. In such case, I would expect the mapmatching output to contain: points snapped on the network, points not aligned with the network.
Is this a target usecase of the map-matching algorithm?
If yes, is it already possible to achieve this with some configuration / code? Or is there some plan / roadmap for such functionnality?
Thanks in advance for your feedback.
Some more details and error messages:
Imagine that someone does a Triatlon and records a GPX of it. He then wants to mapmatch it, but only for the parts that are near to the road network. Not for the part when he was swimming. Similar situations could be cases when a user takes a canoe for a part of his outing, or is crossing a glacier, or more simply just going through a field instead of staying on the road.
At the moment, if we simulate this with a sample GPX walkandboat.gpx (31.1 KB) [1], mapmatching is not supporting such cases.
Either we get an unrealistic deviation [2], or we get an error [3].
Instead of returning an error, to handle such cases, we would need the response to contain the parts that could be snapped, and the parts that could not be snapped.
[1]
[2]
Result with gpx_accuracy=50
[3]
Result with gpx_accuracy=40
message: “Sequence is broken for submitted track at time step 34. observation:Observation{point=47.12943761221159,8.602473365849002,0.0}, 1 candidates: [distance: 470.5736894158046 to 47.127124975482936,8.59726407223785,724.43701171875]. If a match is expected consider increasing max_visited_nodes.”