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

how to retrieve all available nodes from OSM databse

-3

hello

i am vinod bathini, i want to know is there any way, how to retrieve all available nodes from the OSM database. the thing i am doing thesis, i want to retrieve the complete nodes information from Saxony(Germany) osm database. so i set up the OSM database in PostgreSQL. my task i should retrieve the data manually or automatically with out using id's or extensions . once i retrieve the nodes information according to that information we need to develop the routing.

asked 10 Jun '15, 12:33

battinivinod's gravatar image

battinivinod
20446
accept rate: 0%

1

Nodes are not sufficient for routing, you will need ways, too. And maybe relations for supporting turn restrictions and other advanced routing information. See routing in the wiki.

(10 Jun '15, 12:59) scai ♦

2 Answers:

4

I would really really suggest reading up on OSM before you start on your thesis.

The complete OSM data is available from planet.openstreetmap.org , regional extracts from a number of places, for example: http://www.geofabrik.de/data/download.html

answered 10 Jun '15, 13:00

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 12 Jun '15, 10:41

2

Don't spent time building tools that are available. For example, there are tools that do all this work for you for full history dumps. From the little we know about what you want to accomplish, I'd guess you don't need history files, just current state of the map. This can be easily accomplished using GDAl within OSgeo and then importing the result into SQLite. I'm sure there are a lot of other options too.

answered 10 Jun '15, 19:53

joost%20schouppe's gravatar image

joost schouppe
3.4k245087
accept rate: 12%

Source code available on GitHub .