[OSM-dev] 04to05.pl doesn't like Puerto Rico

Martijn van Oosterhout kleptog at gmail.com
Thu Jan 17 17:56:16 GMT 2008


On Jan 17, 2008 6:28 PM, Dave Hansen <dave at sr71.net> wrote:
> Well, I've done virtually the entire US's TIGER data with the script,
> with no issues, but it finally choked on Puerto Rico.
>
> It gets this:
>
> not well-formed (invalid token) at line 330, column 38, byte 14569
> at /usr/local/lib/perl/5.8.8/XML/Parser.pm line 187
>
> when running on this file:
>
> http://dev.openstreetmap.org/~daveh/tiger.files/counties/PR/Adjuntas.osm

My guess is that it's because it's not UTF-8. Is it just copied from
the source (which is also not UTF-8)? I suppose you can convert it, or
change the source script to output UTF-8.

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the dev mailing list