I have a .osm file that contains the list of highways. How do i parse it so that it'll get the nodes so i can use it for my djikstra algorithm which computes the shortest path? I have followed the answer here. The problem is i don't know what command should i use in the osmfilter in step 2. I checked the Osmfilter wiki site and it does not tell me how to split the way into two edges. I'm lost on what to put the command so i can parse only the road nodes for routing purposes. asked 05 Dec '16, 04:21 Marisannn |
The described algorithm is completely independent from osmfilter. You have to implement it in your application. It describes the things you have to do while parsing an OSM file in order to construct a graph representation inside your application. answered 05 Dec '16, 09:30 scai ♦ |