Compiling Typ-Files with mkgmap Version 4214

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiling Typ-Files with mkgmap Version 4214

manfred.haiduk
Hi all

i have just noticed, that compiling style txt files with mkgmap version
4214 will result in a typ-file just double the size of necessary.
Looking into the resulting file with a hex-editor i really saw, that all
data is stored twice after another. See the attached files. The file
mystyle-new.typ is the result of the compilation, the files "first half"
and "second half" are the result of my separation of the mystyle-new.typ
file with a hex editor.

Any thoughts ?

--

   Mit freundlichen Grüßen

#####################################################
Manfred Haiduk,
Zum Fischbach 9,
52393 Hürtgenwald
e-mail [hidden email]
#####################################################



_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

mystyle-new.typ (77K) Download Attachment
first half.typ (38K) Download Attachment
second half.typ (38K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Compiling Typ-Files with mkgmap Version 4214

Steve Ratcliffe
Hi Manfred

> i have just noticed, that compiling style txt files with mkgmap version
> 4214 will result in a typ-file just double the size of necessary.

Thanks for finding this.  It is indeed being written twice.

The attached patch fixes this.

Best whises
Steve

> Looking into the resulting file with a hex-editor i really saw, that all
> data is stored twice after another. See the attached files. The file
> mystyle-new.typ is the result of the compilation, the files "first half"
> and "second half" are the result of my separation of the mystyle-new.typ
> file with a hex editor.
>
> Any thoughts ?
>
>
>
> _______________________________________________
> mkgmap-dev mailing list
> [hidden email]
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>

_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

typ-double-write.patch (583 bytes) Download Attachment