[osmosis-dev] Error while applying updates to planet.osm

Tyler Gunn tyler at egunn.com
Thu Jun 24 15:08:31 BST 2010


On Wed, 23 Jun 2010 21:24:22 +0200, Frederik Ramm <frederik at remote.org>
wrote:
> Tyler,
> 
>     sounds like either your planet or your change file is corrupt. Check

> the files with "xmllint --stream". Re-download the one that is broken.
> Frederik

Well, after another day of downloading (this time from the official
planet.openstreetmap.org site), the planet file is YET AGAIN corrupted.

$ md5sum -c planet-100618.osm.bz2.md5 planet-100618.osm.bz2
planet-100618.osm.bz2: FAILED
md5sum: WARNING: 1 of 1 computed checksum did NOT match

$ bunzip2 -k planet-100618.osm.bz2

bunzip2: Data integrity error when decompressing.
        Input file = planet-100618.osm.bz2, output file =
planet-100618.osm

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

bunzip2: Deleting output file planet-100618.osm, if it exists.

----------------

Bugger, I just looked at the WGET responses and noticed:
HTTP request sent, awaiting response... 302 Found
Location:
http://ftp.heanet.ie/mirrors/openstreetmap.org/planet-100618.osm.bz2
[following]
--2010-06-23 15:04:43-- 
http://ftp.heanet.ie/mirrors/openstreetmap.org/planet-100618.osm.bz2
Resolving ftp.heanet.ie... 193.1.193.64, 2001:770:18:aa40::c101:c140
Connecting to ftp.heanet.ie|193.1.193.64|:80... connected.

So it ended up getting it from the same mirror I got it from in the first
place.

Is there some other manner in which I can download a RECENT planet?

Tyler


-- 
--
Tyler Gunn
tyler at egunn.com




More information about the osmosis-dev mailing list