As the others already say, you should have a look about our object primitives. Then you will learn that any kind of road is a way object with a attached highway=* tag and consisting of nodes that hold the geoposition itself. Then you need to find out how you want to generate your data. You can work offline on planet extracts (e.g. using osmosis and XML files or PostGIS DBs) or if you want to query an API (e.g. OverpassAPI). After filtering, you can create an import script for your particular application that adds the line objects in your desired format/DOM. Hint: There are already existing solutions that do 3D processing with OSM. answered 06 May '14, 18:19 iii |
What would you consider to be a "street"? A residential road would be, but what about something like a cycleway?
Do you just want a list of GPS co-ordinates for nodes that make up streets (however you define them) or do you want some idea of which nodes below to which streets?
It might be helpful to read this link:
http://wiki.osm.org/wiki/Elements
I have a 3D map and I need to draw all the roads in the area on it. That's why I need GPS coordinates of roads, streets, cycleways and so on...