logo separator

[mkgmap-dev] Index: MDR12 breaking POI search

From Steve Ratcliffe steve at parabola.me.uk on Wed Jan 19 20:29:22 GMT 2011

Hi

> I observed the same result when I added the MDR8.
> Adding MDR12 returns to the old behaviour with exceptions and MapSource
> crashes.

Thanks that was a good clue I hope.  I modify the size of the section
mdr11 in the routine that writes it out. As all the sections depend on
each other and need to know their sizes this is too late.

I have extracted out the code that changes the section size into a
finish() method which is called before anything is written out.

I am not in a possition to test it however, but I am sure that the
previous code was wrong - the change may not go far enough.

..Steve



More information about the mkgmap-dev mailing list