
Hi Felix,
Well one thing that this patch makes, is much much bigger filesize (around 30% increase).
To be expected.
Furthermore it really crashes Mapsource. Not even possible to move out anymore.
Hmm, not so expected.
After panning around a bit and choosing a well working zoomscale, Mapsource moves not to the well working one, but out at 1000km
After panning around at 7km just one step before the "critical" 5km Mapsource crashed completely: Crashlog (mapsourcecrash.txt) is attached. If there is no huge error in this patch, it was the worst that ever happened.
Also now Mapsource 6.15.6 shows no more tile and eventually crashes. mapsource 6.15.6 crashlog is attached too.
Maybe reversing the patch and increasing subdivision size would help?
That's an interesting idea - the attached patch should reduce the number of subdivisions - the original code split a subdivision into 4 pieces when it needed splitting. This patch splits it into 2. See what happens! Cheers, Mark