Closed saman-oz closed 2 years ago
can you please elaborate? I don't understand what the problem is supposed to be..
Let me ask another way... How can I get the JSON{or another type} file of map matched path? because I need it to visualize the path of the specified user
I'm really not sure what your input is and what you expect as output? input: user locations as e.g. gps trace (similar to your code above), output: map-matched route? then /trace_route
should be what you want.
Hi @nilsnolde. I am Saman's teammate. our in put is a set of gps trace data. As output of /trace_route (as you said) we expect a set of points identifying the correct link on which a vehicle or user is travelling and to determine the precise vehicle position on that link OR we expect a line string which are the route of the user that make us able to visual the route of user on map. BUT we get following Jason file as output that it is not supposed to be what we expect or we can not access the values we want.
you should spend some time reading the documentation of the free software you're using: https://github.com/valhalla/valhalla/blob/master/docs/api/map-matching/api-reference.md#outputs-of-trace_route leads you to https://github.com/valhalla/valhalla/blob/master/docs/api/turn-by-turn/api-reference.md#trip-legs-and-maneuvers
Hello... I have a strange issue with running the docker image Input and output locations are same!!! input: