Closed JackCaster closed 2 years ago
we're only using map-matching for live traffic tbh, didn't have a need otherwise yet. however, what you're pointing to is a valhalla issue. we're really just wrapping whatever is happening upstream with some more convenience than the upstream docker image. wanna say, whenever you see strange valhalla behavior, esp with weird responses, it's more likely the culprit is there, e.g. https://github.com/valhalla/valhalla/issues/3371
Right, I apologize. I should have opened that isse there. Thank you for pointing that out
I stumbled upon a strange behavior. When I map-match a series of GPS points, the
edge_index
for some interpolated coordinates is wrong and it suggests a type overflow. For example a request to match this path in Sweden:returns (partial output)
where you can see that one
edge_index
is18446744073709551615
:Because 18446744073709551615 is the max uint64, it may be an error in type casting. I see this happening for
interpolated
matches only. I also noticed that this happens when the interpolation is between two edges (in the case above, the interpolation is between edge 5 and 6):while it works fine within the same edge (in the case above, the within the edge 5 the interpolation is correct):
These GPS are in Sweden, but I can replicate the same behavior in Italy too. Is this something you experienced too?