Opened 4 years ago

Last modified 3 years ago

#19411 new enhancement

Request to support new roles in the relation editor's member sort routine.

Reported by: pelderson@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: relation route sorting hiking roles Cc:

Description (last modified by simon04)

(Related to ticket #19403 but it's a different request)

Five new roles have been approved for route relations. See ​osmwiki:Proposed_features/Recreational_route_relation_roles
The roles are: alternative, approach, excursion, connection, main.
No role is the same as main for data users, but the explicit value main is now an approved value.

JOSM sorting in the relation editor does not yet handle the new roles when they are set on way members
Roles forward and backward on ways, as defined for routes where the directions differ at some locations, are handled as intended by the sorting routine.
Other roles are currently ignored. The request is to sort the ways for each role separately (forward and backward are sorted as main). So main, foward and backward are sorted like it is now; all alternative ways are sorted separately and kept together; all excursions idem; etc. Let's call it: grouped sorting. This could be generic: the sort does not have to check for specific roles other than forward/backward, it can simply group all members with the same role together, alphabetically.

Multiple roles on one way are currently not approved. Some mappers have suggested a semicolon-separated list of roles could be assigned to a way, but no consensus has been reached about that. However, it is the only way to register a way which serves as, say, an approach, and at the same time has a backward or forward role to assign it to a direction. The way would then be expected to be sorted into the approach group and presented there according to the forward role.

Attachments (0)

Change History (4)

comment:1 by simon04, 4 years ago

Description: modified (diff)
Keywords: relation member sorting hiking added

comment:2 by pelderson@…, 4 years ago

Please note it's not only about hiking. The approved role set applies to routes of these types: bicycle, canoe, foot, hiking, horse, inline_skates, mtb, running.

comment:3 by skyper, 3 years ago

Keywords: route added; member removed

comment:4 by skyper, 3 years ago

Keywords: roles added

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to pelderson@….
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.