[OSM-dev] Blue sea for tiles at home

Martijn van Oosterhout kleptog at gmail.com
Fri Apr 27 22:43:52 BST 2007

On 4/24/07, Frederik Ramm <frederik at remote.org> wrote:
> I am not quite sure if we understood each other here. The index file
> is responsible for pointing out the "100% sea" tiles. As soon as a
> tile contains any bit of coastline, the index file is not looked at.

Something just got pointed out to me: if a tile used to have a PGS
import and it's since been modified to be natural=water, then the code
curently may guess funny things. Attached is a patch that makes it
guess slightly more accuratly, by polling the surrouding tiles. Not
guarenteed ofcourse, but hopefully slightly better.

Have a nice day,
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: close-areas.patch
Type: text/x-diff
Size: 1108 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070427/c79c0aaa/attachment.patch>

More information about the dev mailing list