-
Notifications
You must be signed in to change notification settings - Fork 24
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
where to find this OpenStreetMapX.nearest_node(m, features[key]) function? #18
Comments
Hi, In the most basic scenario, when you use features from the osm file you don't need to bother yourself with this function, features are already nodes. Hovewer, when you want to use the features from the outside file (e.g. you got some special list of objects necessary in your model) or filter the roads (e.g. you only interested in having highways) then it might be quite useful. |
Hi, bartoszpankratz,
|
Yeah, that's right. My mistake. |
Or am I wrong also? The |
Ok, sorry. I have changed a lot, someone mess around with this function and no one have update it. I remeber that at the beginning this function was written to work with external data sources, like CSV files, thats the reason why features are Dict{Int,Tuple{String,String}} - Tuple{String,String} was the pair of coordinates which then was translated to LLA type. Thank you! We will repair it obviously. |
Hi, I hope that I did not misunderstand anything. I was a bit confused about the following code.
Firstly, what is exactly "for each feature, find the nearest graph node"? What does it mean? Secondly, where to find this function
OpenStreetMapX.nearest_node(m, features[key])
?The text was updated successfully, but these errors were encountered: