I have a task form my lecturer. I have to make a routing application that must use Dijkstra's Algorithm as the Shortest Path Algorithm. So far, I've done put the OSM map on my app, but I don't know how to put this dijkstra's algorithm on my app. The thing that I know, i have to know the graph first and the value of each line. So, i can use the algorithm. How to convert OSM map to the graph and know the value? Can anybody help me how to this or have better method? Thanks. asked 31 Jan '13, 06:32 rizkydp |
Just in case you haven't seen it, there an overview of the "turn OSM data into a graph" part here.
oh thanks. i'll try
hmm thanks and How to get the distance value?