1

I am trying to extract the edges and nodes of a certain city from osm files and save them to a database. How can I accomplish this. I am not sure how much osm2po and osm2pgrouting tools are acceptable. I mean what is the standard procedure to get the graph. I mean when I use osm2po and tools like that they generate their own data structures. I mean they have this column called geometry of type multiline string and stuff. I am not sure if I should use this. Actually, I want to implement shortest path algorithm of my own.

I am not sure if osm is the only source to get such graph. Also, I want to plot the generated graph in matlab. How can I accomplish this?

1

You can find some MATLAB scripts to import openstreetmap files here: http://www.mathworks.com/matlabcentral/fileexchange/35819-openstreetmap-functions these include functions for plotting the map and network, as well as a routing example.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.