logo separator

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

From Charlie Ferrero charlie at cferrero.net on Mon Apr 4 08:21:22 BST 2011

On Mon, 4 Apr 2011 10:11:18 +0300, mkgmap-dev-bounces at lists.mkgmap.org.uk wrote:
> On Sun, Apr 03, 2011 at 09:20:55PM +0200, WanMil wrote:
> >Based on the proposal of Ralf Kleineisel the patch tries to cut 
> >multipolygons at multiples of 2048 in Garmin coordinates. This 
> >reduces artefacts at the cut lines of the multipolygons.
> >
> >The patch contains also a fix for the bug found by Nakor (Some inner 
> >areas are ignored in mulitpolygon processing).
> >
> >Please test it soon. I plan to commit that within the next 2 days if 
> >noone complains about it.
> 
> I tested this patch, and it does not seem to break anything for me. I 
> have not paid attention to the number of multipolygon cut lines in the 
> past, so I cannot say if this patch reduces them considerably.
> 
> 	Marko
> 

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.



More information about the mkgmap-dev mailing list