[OSM-talk] OSM back
Christopher Schmidt
crschmidt at crschmidt.net
Mon Jul 3 22:36:31 BST 2006
On Mon, Jul 03, 2006 at 11:28:37PM +0200, Joerg Ostertag wrote:
>
> > http://steve.dev.openstreetmap.org/planet.osm.bz2
> >
> > Yes, a planet.osm. 20 meg compressed. This took most of the time today
> > and includes everything east of -30 Longitude (mid atlantic-ish). Still
> > can't handle TIGER yet, too big. This was done with code that NickW
> > wrote.
>
> I tried to read the new File with perl XML::Parser. But I have Problems
> reading it.
> The Line giving the errors look like:
> <tag k="amenity" v='B&B'>
> <tag k='name' v='Præstegårdskolen' />
>
> The Error message sounds like
> not well-formed (invalid token) at line 282144, column 23, byte 9849188
> at /usr/lib/perl5/XML/Parser.pm line 187
The line in question is the "B&B" line. The version of the dump I posted
to http://london.freemap.in/planet/ should take care of this issue
(although I'm not sure how sane it is with encoding -- some thing seem
to work out okay, others do not.)
The problem is that "&" is not encoded.
--
Christopher Schmidt
Web Developer
More information about the talk
mailing list