This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Creating Graph(Nodes-Edges) from OSM XML Data

0

Hello,

I am currently working on an academic special problem related to routing. I would like to know if there are existing libraries to "parse/convert" osm xml to a graph representation (matrix) or something close.

Thank you for your answers or suggestions. :)

asked 30 Aug '11, 05:29

jplaras's gravatar image

jplaras
41346
accept rate: 0%


One Answer:

0

There's osm2pgrouting which I suspect does something like this.

answered 30 Aug '11, 08:15

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Source code available on GitHub .