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

Parsing .osm file with libxml2 and C language

0

Hi guys, i'm new on this topic and i'm not very good in how to work with this specific osm file. I would like, given any portion of a map (so an .osm file), to take out a normal .txt file saying "this segment (way) here connect this crossroad (node) to this other crossroad (node)". So a normal txt file with a list of all ways with the nodes that partecipate. How can I do that?

asked 22 Mar '18, 09:37

claudiodipilla87's gravatar image

claudiodipil...
11334
accept rate: 0%

edited 25 Mar '18, 23:56

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

2

Your question, as it stands now, is very broad. I think it would improve your chances of getting any answers if you were more specific about which part(s) of the problem you need help with.

(26 Mar '18, 07:27) turepalsson

Source code available on GitHub .