logo separator

[mkgmap-dev] [PATCH v1] Prefer multiples of 2048 as cut coordinates in multipolygons

From WanMil wmgcnfg at web.de on Mon Apr 4 19:11:33 BST 2011

Am 04.04.2011 09:34, schrieb Marko Mäkelä:
> On Mon, Apr 04, 2011 at 10:21:22AM +0300, Charlie Ferrero wrote:
>> If someone can compile a jar file for me I'd like to test this. I
>> recently built a map of Thailand and Malaysia and with all the islands
>> the multipolygon artefacts in Mapsource are quite extreme.
>
> There are quite a few tiny islands on the Baltic sea and in the
> thousands of lakes of Finland. If they are closer than 2048 Garmin units
> apart and smaller than 2048 Garmin units, what can the patch do?
>
> I suppose that the patch could be good for large islands.
>
> 	Marko

I've tested the patch with finland only (that's my primary multipolygon 
test area ;-) and except for some cases the white artefacts disappeared. 
But of course, if an island does not cross the 2048 grid the patch 
cannot place a cutting line on a 2048 garmin unit.

WanMil



More information about the mkgmap-dev mailing list