[OSM-talk] Broken coastline

Christoph Hormann chris_hormann at gmx.de
Mon May 11 16:47:50 UTC 2015


On Monday 11 May 2015, Mike Thompson wrote:
>
> I don't have a strong preference for how they are represented
> (natural=coastline or natural=water), but I believe the mix and
> incomplete implementation of the two approaches is causing rendering
> issues.

At least the OSM standard style does not have a problem with having both 
coastline and a water multipolygon - the Caspian Sea, Lake Ladoga and 
Lake Onega also all have multipolygon relations tagged natural=water.

The 'half the lake' relation and missing inner rings of course call for 
trouble.

> I have seen a number of them on the Canadian side.  Regardless of the
> number, finding and editing all of them is going to be tedious and
> error prone without a way to query for them. I can probably write
> something that will operate on the file JOSM downloads that will
> check to make sure I have fixed them all, but would like to leverage
> existing code as much as possible.

You probably could save the islands after you tagged them as coastline 
from JOSM (only the islands) and run them through osmcoastline as if 
they were the only land on earth and see if there are any 
errors/warnings.

-- 
Christoph Hormann
http://www.imagico.de/



More information about the talk mailing list