[josm-dev] Ticket #488: Unnecessarily prompted to select way to split even though only one way extends through node

Dirk Stöcker openstreetmap at dstoecker.de
Tue Aug 12 11:04:26 BST 2008


On Tue, 12 Aug 2008, Florian Heer wrote:

> I think I have a solution for this nuisance, but first of all a question, as 
> I don't know the data structure by heart yet:
> is the list of nodes of a way guaranteed to be sorted by their occurence in 
> the way? Meaning: is the first node in the list always the first of the way 
> and likewise with the last?

Yes.

> If so, the attached patch solves Ticket #488.

One comment for future stuff - check diff files before sending - You had 
some changes in .classpath, which shouldn't be there.

Also I changed the warning message a bit to reflect new situation and did 
some optimizations :-).

More fixes to follow? I hope so ...

We are down to 90 defects.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the josm-dev mailing list