[OSM-dev] Our beloved XML format doesn't parse; planet 11-11

Jon Burgess jburgess777 at gmail.com
Mon Nov 15 22:38:03 GMT 2010


On Mon, 2010-11-15 at 22:28 +0100, Stefan de Konink wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> Hi,
> 
> 
> After 4 unsuccesfull in osm2pgsql runs, and today after md5 validation.
> I am pretty sure that the file that I have downloaded is complete.
> 
> ea628ba9912e6d33ef65d35b7cbe6823  planet-latest.osm.bz2
> 
> 
> But osm2pgsql reports:
> 
> Reading in file: -
> Processing: Node(832188k) Way(7341k) Relation(0k)Entity: line
> 1275668752: parser error : Specification mandate value for attribute v
>     <tag k="source" v
>                      ^
> Entity: line 1275668752: parser error : attributes construct error
>     <tag k="source" v
>                      ^
> Entity: line 1275668752: parser error : Couldn't find end of Start Tag tag
>     <tag k="source" v
>                      ^
> - - : failed to parse
> 
> 
> So dear XML lovers, what went wrong with with the planet generation?

Have you changed anything recently? 

A week or two ago someone pointed me at a possible issue with the
current bzip2 code in Ubuntu when decompressing to a pipe:
https://bugs.launchpad.net/ubuntu/+source/bzip2/+bug/621130

I'll try parsing the file but it'll take several hours to run.

  Jon





More information about the dev mailing list