[OSM-talk] Lakes and relations, what did I break?

Martijn van Oosterhout kleptog at gmail.com
Mon Apr 21 08:05:21 BST 2008


On Mon, Apr 21, 2008 at 3:14 AM, Frederik Ramm <frederik at remote.org> wrote:
>  Close-areas uses a tile index to find out what to do when it
>  encounters a tile with *no* coastline at all (and your tiles do not
>  have coastline on them). The tile index may indicate either land, sea,
>  or "mixed". It returns "mixed" for your tiles. I am leaning towards
>  changing this into "land" because your tiles are, from a "the coast of
>  Ireland" perspective, clearly inland... any thoughts on that, Martijn
>  (who invented the tile index)?

Yeah, it should be marked land. I find it interesting that bugs in the
tile index have become quite rare  recently, which would indicate
we've almost converged to almost the right file.

>  My initial implementation of close-areas did create a blue background
>  only if the tile index indicated "sea". It seems that meanwhile
>  someone has added code to "guess" the background colour in cases where
>  the tile index indicates "mixed". The guessing goes like this:

Yeah, the guessing rule was a bit if a hack, and IIRC you're looking
at the new version :)

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the talk mailing list