[Tilesathome] Frustrated about oceantiles
Martijn van Oosterhout
kleptog at gmail.com
Tue Dec 16 20:26:09 GMT 2008
Almost, change one line.
On Tue, Dec 16, 2008 at 8:21 PM, Frederik Ramm <frederik at remote.org> 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 <kleptog at gmail.com> http://svana.org/kleptog/
More information about the Tilesathome
mailing list