Almost, change one line.

On Tue, Dec 16, 2008 at 8:21 PM, Frederik Ramm <[email protected]> wrote:
> Hm, so what would you want close-areas to do? Something like:
>
> if (no intersections)
> {
>   if (at least one closed coastline polygon)
>   {

>      take first available closed coastline polygon;
Replace with:
         take largest available closed coastline polygon;

The largest one by definition can't be contained within any other and
thus can determine the state of the tile. This is pretty much what the
coastline checker does.

>      if (clockwise)
>      {
>         draw white background
>      }
>      else
>      {
>         draw blue background
>      }
>   }
>   else
>   {
>      draw background according to tile index
>   }
> }
-- 
Martijn van Oosterhout <[email protected]> http://svana.org/kleptog/

_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome

Reply via email to