[Tilesathome] Frustrated about oceantiles
Frederik Ramm
frederik at remote.org
Tue Dec 16 19:21:05 GMT 2008
Hi,
Martijn van Oosterhout wrote:
> The problem is that there are tiles where there is coastline but none
> of it touches the edges (islands). You have sufficient information to
> determine if it's land or sea, but close-areas.pl doesn't know right
> now.
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;
if (clockwise)
{
draw white background
}
else
{
draw blue background
}
}
else
{
draw background according to tile index
}
}
would that be it?
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the Tilesathome
mailing list