On Sun, Nov 2, 2008 at 5:46 PM, Matthias Julius <[EMAIL PROTECTED]> wrote: > Without looking at close-areas.pl this doesn't seem to be the case. > Islands on a tile where the coastline does not cross tile borders are > rendered inverted. We might call that a bug in close-areas.
Looks like it, it only avoids looking at the oceantiles if a coastline crosses the boundary, which makes it hard to determine the right setting for islands/lakes. Whereas if there are any coastline segments it has enough info to make the right determination. The easiest fix seems to be to, in the case where a loop is found that doesn't intersect the edge, calculate the size and remember the orientation of the largest completely contained shape. Using this you could correctly determine if the background is land or sea... Have a nice day, -- Martijn van Oosterhout <[EMAIL PROTECTED]> http://svana.org/kleptog/ _______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
