Frederik Ramm wrote: > Hi, > > Maarten Deen wrote: >> I admit I haven't used relations in a while, so I'm quite surprised to see >> that >> JOSM now adds a way to a relation again if it was already in the relation. >> Previously, ways that were already in a relation did not get added again. >> I this an intentional change? > > Yes, this is because since 0.6 OpenStreetMap allows the same way to be > in the same relation twice (needed e.g. for a bus route that goes down a > spur and comes back). > >> So now I've ended up with a relation with almost all ways double. Is there a >> quick and easy way to get all double ways removed from this relation? > > Not yet I'm afraid.
That's a serious issue. I've seen that all the double ways appear in the "edit relation" box with "->->" or "<-<-" in the "linked" column. But if I then remove one of those lines, both ways get removed from the relation. Surely that is not intentional? Has someone already though of a "distinct" feature in the relation editor? Either a "remove double entries" or also a button "add selected distinct entries"? I've managed to hack them out. The easy way I guess: select all ways in the relation, add some bogus tag, remove all ways from the segment, select all ways with the bogus tag and add them to the relation. But I don't think that should be the way forward. Maarten _______________________________________________ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev