Map matching: matched_points
are missing in trace_attributes
pbf
response (different set of properties in pbf
and json
)
#4708
Labels
Hello there,
I am struggling with a issue coming from the fact, that Valhalla
json
andpbf
trace_attributes
responses have very different model.My scenario is the following: I need to compute average speed for all edges returned by
trace_attributes
based on my input points (coordinate+timestamp). So for each segment between two input points I need to break down the route to the corresponding (matched) edges. Additionally, I need to consider edge costs when breaking down.At first, I went the PBF route because of convenience. It gave me edge costs (not seconds):
Unfortunatelly, the second part I need for the computation (
matched_points
) is missing in PBF.I realized that in JSON response, there are
matched_points
, but edge costs are missing.Would be possible to include
matched_points
in the PBF response?Shouldn't be those response formats more consistent/similar to each other? It's just format...
Thank you guys for all the work. It's a great project!
Norek
The text was updated successfully, but these errors were encountered: