[josm-dev] Clockwise coastline, anti-clockwise water
Dirk Stöcker
openstreetmap at dstoecker.de
Mon Jul 7 15:01:11 BST 2008
On Mon, 7 Jul 2008, Matthias Julius wrote:
>> I thought the same. But the check anyway only tests closed ways (there is
>> no real useable way to determine this issue for non-closed ways. Think of
>> e.g. a U or J shaped way. How will you determine on which side water is
>> (You can probably detect minimum distances to 100% land related
>> structures and assume the side with these structures is land, but this
>> will be a big effort).
>
> Neighboring coastlines need to go in opposite direction. It is an
> error if they don't.
>
> Didn't somebody implement a test for that?
How do you want to do that automatically? It's easy for a human to see
that, but very complicated to convert this into an working algorithm.
>> To make it a bit more useful, I will an an check, which tests for unclosed
>> ways in case of "natural=". That will be helpful.
>
> At least coastlines don't need to be closed. And it would be good if
> we could drop that requirement for other areas as well.
It's no "requirement", but an validation warning. And like all the others,
it will be able to turn it off :-)
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev
mailing list