I want to get the data out of http://wiki.openstreetmap.org/wiki/Planet.osm
I have just come back from the site http://wiki.openstreetmap.org/wiki/Planet.osm
which has got some files that belong to the openstreetmap-Project. i downloaded a similar file that is derived from a German Mirrorsite - this one here:
i downloaded the file called germany.osm,bz2
according to this instruction
type bzip2 -d planet.osm.bz2; or your OS may support double-click unpacking. See Wikipedia's list of compression programs.
i did the following - but without success-,
martin@linux-wyee:~/poi_abzug/geofabrik> bzip2 -d germany.osm,bz2; bzip2: Can't open input file germany.osm,bz2: No such file or directory.
Can anybody explain why i did not succeed?
- Is this a XML-File ?
I only need the data for the Pois in Germany: can i use this file here - http://ftp5.gwdg.de/pub/misc/openstreetmap/
As this might be of general interest i think that many users can benefit from an answer to this question.
So my question is:
- How to read the above mentioned dataset - how to read it - on a OpenSuse-Linux-machine!?
- Should i do it in the terminal?
Note - i want to store all in a csv file - and i look for all the restaurants... What is the easiest way to do this?