[josm-dev] Validator: Unordered coastline

Matthias Julius lists at julius-net.net
Tue Nov 3 16:05:13 GMT 2009


Matthias Julius <lists at julius-net.net> writes:

> Validator just gave me an "Unordered coastline" error and highlighting
> the last node for a coastline I had been working on.  What does that
> mean?
>
> The notion of unordered ways made sense when we still had segments.
> But how can a simple list of nodes be unordered?
>
> This error is not listed on
> http://wiki.openstreetmap.org/wiki/JOSM/Plugins/Validator#Validations
> Is there another source of information about validator checks besides
> "Read the Source, Luke!"?

Actually, I just did that.  And it seems like this error is shown when
either the first node of the way is not the last node of the privious
way or the last node is not the first node of the next way.

I'll include that on the wiki.

Now, looking at my data I don't see why this error comes up.  The node
in question only belongs to the two coastline ways and it is the first
and last node respectively.

Next, I have uploaded my data to give everybody the chance to look at
it and the error is gone :-/

Now I am completely mystified.  Uploading of the 'buggy' data has
fixed it.

Could it be that backreferenceDataSet.getParents() returns deleted
ways?

Matthias




More information about the josm-dev mailing list