logo separator

[mkgmap-dev] [PATCH v1] Multipolygon: do not remove ways that completely contain the bounding box

From WanMil wmgcnfg at web.de on Sat Feb 6 17:34:04 GMT 2010

> In removeWaysOutsideBox(), exactly one way gets removed
> but that is enough to completely remove the sea.
>
> The way that is removed is exactly one unit outside the bounding box
> on all four corners.  It is thus removed because no point is actually
> inside the bounding box, even though it completely surrounds the
> bounding box.
>

Ouch... This check is missing.

Attached patch does not remove ways that completely contain the bounding 
box.

WanMil

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mp_noremove_v1.patch
Url: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100206/f096b6cd/attachment.pl 


More information about the mkgmap-dev mailing list