<div dir="ltr"><div><div><div><br></div>Hi!<br><br></div>First tests indicate that your patch is working great :). Thanks a lot for fixing this bug :)<br><br></div>best regards<br><br>Michal Rogala<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-04-02 17:50 GMT+02:00 Steve Ratcliffe <span dir="ltr"><<a href="mailto:steve@parabola.me.uk" target="_blank">steve@parabola.me.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi Michał<br>
<br>
I believe that I have now found the problem thanks to your example.<br>
If I'm right, then the problem occurs when there are some cities that<br>
do not have a country assigned and also that the total number of<br>
cities is greater than 64k and the number of cities with a country is<br>
less than that.<br>
<br>
So it is mostly just unlucky based on the amount of data. With a<br>
perfect bounds file, then every city should have a country and the<br>
problem would not happen I think, so there was probably some<br>
significance about the tiles being at the edge in a different country.<br>
<br>
If not using a bounds file, then the problem is much more likely to<br>
happen and may explain why I often see problems with maps without<br>
bounds files.<br>
<br>
The fix is on the sort2 branch at r3163 or greater: <a href="http://www.mkgmap.org.uk/download/mkgmap-sort2-r3163.zip" target="_blank">http://www.mkgmap.org.uk/<u></u>download/mkgmap-sort2-r3163.<u></u>zip</a><div class="HOEnZb">
<div class="h5"><br>
<br>
..Steve<br>
______________________________<u></u>_________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/<u></u>mailman/listinfo/mkgmap-dev</a></div></div></blockquote></div><br></div>