Opened 8 years ago

Last modified 10 months ago

#10324 new enhancement

test whether relation member ways are properly ordered

Reported by: aceman Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: multipolygon order Cc: naoliv


In the WronglyOrderedWays test, it could warn when the members of a relation are not properly ordered. That means, they are not producing a continuous line (or circle) in the display of the relation. While the members may be continuous if summed together, the relation editor may display them as segments with holes. Reordering the members would make the relation editor show the nice "closed way circle". I'd like to find such relations and reorder the members so that it is also visually clear they form a closed way.

This would only apply to relations where JOSM understands the member roles and where the ways are intended to produce a continuous joined way. E.g.:
type='route' - the ways should form a continuous line (unclosed), unless "forward", "backward" roles are used
type='multipolygon', 'boundary' - the sets of "outer" and "inner" members should form a closed ways each. I think JOSM already warns if these are unclosed, but I'd like to check the order of the members on top of that.

Attachments (0)

Change History (2)

comment:1 Changed 10 months ago by skyper

Ticket #13235 has been marked as a duplicate of this ticket.

comment:2 Changed 10 months ago by skyper

Cc: naoliv added
Keywords: multipolygon order added
Version: latest

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to aceman
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.