Planet.osm: Difference between revisions
No edit summary |
Teratornis (talk | contribs) (→Unpacking the File: Add a note about Cygwin which provides bzip2) |
||
Line 17: | Line 17: | ||
== Unpacking the File == |
== Unpacking the File == |
||
The downloaded file is XML packed with bzip2. bzip2 is a common compressor like zip or gzip. |
The downloaded file is [[Wikipedia:XML|XML]] packed with [[Wikipedia:bzip2|bzip2]]. bzip2 is a common [[Wikipedia:Data_compression|compressor]] like [[Wikipedia:zip|zip]] or [[Wikipedia:gzip|gzip]]. |
||
Linux has no problem with bzip2. Use the command line to extract and it gives you an 80MB XML file. |
[[Wikipedia:Linux|Linux]] has no problem with bzip2. Use the [[Wikipedia:command line|command line]] to extract and it gives you an 80MB XML file. |
||
bzip2 -d planet.osm.bz2 |
bzip2 -d planet.osm.bz2 |
||
[[Wikipedia:Microsoft_Windows|Windows]] needs a bit of help. http://www.7-zip.org/ works nicely and is [[Wikipedia:Open_source_vs._free_software|free]]. [[Wikipedia:Cygwin|Cygwin]] is another free option for Windows (providing not only [[Wikipedia:bzip2|bzip2]] but also a very complete [[Wikipedia:Unix-like|Unix-like]] [[Wikipedia:Compatibility_layer|compatibility layer]] with a full set of [[Wikipedia:GNU|GNU]] tools, allowing Windows users to do much of what [[Wikipedia:Linux|Linux]] users can do). |
|||
Windows needs a bit of help. http://www.7-zip.org/ works nicely and is free. |
|||
== Stuff done with planet.osm == |
== Stuff done with planet.osm == |
Revision as of 12:33, 4 July 2006
Planet.osm is a snapshot made by Steve of the latest revision of the nodes, segments, and ways in the database from start of April 2006. It contains neither a history nor the traces gps logs behind the data.
For anonymous download you can use the links below. View some Stats about the data.
Original URL:
Mirrors (probably faster and you don't disturb the osm server ;)
- http://cjb.ie/planet-osm/
- http://www.imag.fr/planet.osm.bz2
- http://www.ostertag.name/osm/planet/planet-2006-7-a.osm.bz2 (bz2,7z, osm versions available)
- http://www.rhyspowell.com/osm/ (bz2 and zip versions available)
- http://www.eigenheimstrasse.de/josm (slow)
- http://personal.earlsoft.co.uk/osm/ (100KB/s download with history)
Unpacking the File
The downloaded file is XML packed with bzip2. bzip2 is a common compressor like zip or gzip.
Linux has no problem with bzip2. Use the command line to extract and it gives you an 80MB XML file.
bzip2 -d planet.osm.bz2
Windows needs a bit of help. http://www.7-zip.org/ works nicely and is free. Cygwin is another free option for Windows (providing not only bzip2 but also a very complete Unix-like compatibility layer with a full set of GNU tools, allowing Windows users to do much of what Linux users can do).
Stuff done with planet.osm
- planet.osm in GPSDrive imports the OSM data in the GPSDrive routing application.
- Map of OSM coverage in Europe is just a picture of the coverage of OSM of europe
- Importing Planet.osm into QGIS
- Print OpenStreetMap with Gnuplot print the world into PDF files.
- Little-osm is a stand-alone webserver capable of importing planet.osm and deliver /map requests. It works with JOSM as an offline, read-only installation.