[josm-dev] Relation member sort cleanup

Christiaan Welvaart cjw at daneel.dyndns.org
Thu Jul 9 14:11:36 BST 2009


On Thu, 9 Jul 2009, Dirk Stöcker wrote:

> On Thu, 9 Jul 2009, Christiaan Welvaart wrote:
>
> Please no patches in group. The Trac is better here, as I sometimes
> overlook patches in group and then they are forgotten.

ok

>> It was mentioned that the sort feature is not really useful. Why is that, and
>> how could it be made (more) useful?
>
> I should have been more verbose. I did not deep-analyse the mechanism but
> it seems you only sort the first block of ways. This does not work for
> splintered relations.

Sure, that is a limitation of this simple feature. But I do not see how 
one could sort a branched two-way route relation into a linear list.

> In multipolygon drawing of mappaint I choosed to join all ways at there
> end points and the as a result I have multiple groups of joined ways. This
> can be done in relation sort as well. The last step would then be to
> bring these groups in correct order (i.e. sort them by minimal distance of
> end points.

Since multipolygons are often nested, it would make sense to group those 
in nesting order. But then such groups should be marked in the relation 
editor, e.g. in a tree structure. Maybe this can be implemented in a 
separate multipolygon editor...


     Christiaan




More information about the josm-dev mailing list