Get all points of a street

 1 How can I get all points of all streets in an area([50,7,50.2,7.2] for example) with their GPS coordinates? asked 06 May '14, 10:19 marianp 16●1●1●1 accept rate: 0% iii 4.9k●8●40●81 1 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? (06 May '14, 10:31) SomeoneElse ♦ 1 It might be helpful to read this link: http://wiki.osm.org/wiki/Elements (06 May '14, 10:34) SomeoneElse ♦ 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... (06 May '14, 15:00) marianp

 4 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. Keep also in mind, that tagging schemas might differ from place to place and are just somewhat 'semi-standards'. Also know that there might be 'unexpected' constellations as closed ways, area=yes full shapes and other suprises as multipolygones. So it's better to check your algorithm for a lot of different areas :) answered 06 May '14, 18:19 iii 4.9k●8●40●81 accept rate: 10%
 toggle preview community wiki:

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported

Question tags:

×611
×236
×35

question asked: 06 May '14, 10:19

question was seen: 4,326 times

last updated: 08 May '14, 17:50