logo separator

[mkgmap-dev] Re: bad file format error

From Andre Hinrichs andre.hinrichs at gmx.de on Mon May 18 18:52:47 BST 2009

Hi!

I just downloaded it and got the same error here!
So, it's not your box...

Sending it through xmllint you get the following error:

$ xmllint paris.osm
paris.osm:2539: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xE9 0x2C 0x6A 0x6F
'212612912' lat='48.8643095' lon='2.4127779' user='Charlie Echo' xapi:users='jos
                                                                               ^


There seem to be many of those...

Regards,
   Andre

-------- Original-Nachricht --------
> Datum: Mon, 18 May 2009 19:11:03 +0200
> Von: frmas <frmas at free.fr>
> An: Development list for mkgmap <mkgmap-dev at lists.mkgmap.org.uk>
> Betreff: Re: [mkgmap-dev] Re: bad file format error

> Toby Speight a écrit :
> Hello,
> 
> > So mkgmap is right to reject the file; now the question is, how did that
> > malformed sequence get in there in the first place?  Could your script
> > have written it, or has it come from (say) the planet.osm file (or a
> > subset cut from it)?
> 
> Is it possible for someone to grab the following data (the .osm file
> produced is just 1259178 bytes).
> 
> This is the command line I used :
> 
> curl -L
> "http://www.informationfreeway.org/api/0.6/map?bbox=2.3769,48.8421,2.4218,48.8672"
> -o paris.osm
> 
> Then :
> java -Xmx768M -jar mkgmap.jar --latin1 --mapname="09030406" paris.osm
> 
> If it gives :
> Error at line 2539, col 92
> Bad file format: paris.osm
> 
> Then the problem is from "planet osm", if not, it's a problem with my
> Linux box. Thanks. Francois
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a



More information about the mkgmap-dev mailing list