-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigation directions missing distance, Any other method that returns distance with directions? #319
Comments
Doesn't the stops in the meta contain the distance from the previous? |
Thanks for the reply . No , in my case i see like 8 instructions , but only two stops(in Route Object) . These two stops are Origin and Destination with distanes 0.0 and Full distance. |
Can you post a link to your pbf and some sample code (or a link to a gist with such sample code) which demonstrates your problem please? Thank you! See also: #302 |
The PBF that i am using is this (GCC States) : https://download.geofabrik.de/asia/gcc-states.html
Here "instr" has list of instructions , i want to get the distance associated with the instructions . "route1" has shapemeta and stops but they dont match with Instructions . Is there any other method for generating instructions ? |
Sorry if the title is too vague .
I am trying to create a List of instructions for a point A to point B.
I am using
In this i get a list of verbal routes , Like go straight , take left .
But what I am looking for is - go straight <10 km> , take left , continue <1 km> etc .
I went through the documentation but was not able to find any method that returns distance corresponding to the particular Navigation instruction. Can you please help me figure this out , if Itinero supports it?
The text was updated successfully, but these errors were encountered: