[OSM-talk] JOSM Tools to fix coastlines

Robert (Jamie) Munro rjmunro at arjam.net
Wed Aug 8 12:10:03 BST 2007

Hash: SHA1

Francisco R. Santos wrote:
> On 7/25/07, *Robert (Jamie) Munro* <rjmunro at arjam.net
> <mailto:rjmunro at arjam.net>> wrote:
>> I've spent a bit of time trying to fix the coastline of Norway, making
>> the sea on the right of all the segments. It's a huge job that could
>> probably be made much easier with better tools:
>> Could Josm's mappaint plugin be made to paint coastlines with a line of
>> grey (or whatever color) and 3-4 pixels of blue colour to the right of
>> the segment, so that you can see that the segment is facing the right
>> way from a distance, even if you don't have the arrows on?
>> Could validator detect when two coastline ways meet but point in
>> opposite directions?
> That could be done easily.  I'll take a look next week.

That would be a great help. It just struck me that it should also detect
where a coastline way doesn't meet with another coastline way (or loop
back on itself).

>> Could validator detect when two coastline ways run parallel without
>> other ways in between running opposite? 
> That is more complicated, and right now I don't know how to do it. I'll
> need to think about it.

If it helps, it occurs to me that any line drawn through a map should
cross coastlines in alternate directions. You could test the  lines
making the borders of the downloaded area, then draw lines that pass
through any ways that haven't been tested already.

Robert (Jamie) Munro

talk mailing list
talk at openstreetmap.org <mailto:talk at openstreetmap.org>

Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the talk mailing list