Planet.osm: Difference between revisions

From OpenStreetMap Wiki
Jump to navigation Jump to search
No edit summary
(→‎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 ;)


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

Statistics