Modify

Opened 2 days ago

Last modified 18 hours ago

#24685 new enhancement

Allow roles for superroutes

Reported by: Crashillo Owned by: team
Priority: normal Milestone:
Component: Internal preset Version:
Keywords: validation, superroute, roles Cc:

Description

Validation triggers ROLE_UNKNOWN error whenever a superroute contains any member tagged.

According to https://wiki.openstreetmap.org/wiki/Roles_for_recreational_route_relations, it's quite common that a hiking route (mainly) contains variations.

Can we append this to the defaultpresets.xml?

<roles>
  <role key="" text="route segment" requisite="required" type="relation" member_expression="type=route"/> <!-- fixme: at least 2 members are required -->
  
  <!-- new roles -->
  <role key="main" text="main route" requisite="optional" type="relation" member_expression="route=hiking"/>
  <role key="alternative" text="alternative route" requisite="optional" type="relation" member_expression="route=hiking"/>
  <role key="excursion" text="excursion route" requisite="optional" type="relation" member_expression="route=hiking"/>
  <role key="approach" text="approach route" requisite="optional" type="relation" member_expression="route=hiking"/>
  <role key="connection" text="connection route" requisite="optional" type="relation" member_expression="route=hiking"/>
</roles>

Attachments (0)

Change History (2)

comment:1 by Crashillo, 2 days ago

Keywords: superroute roles added; supperoute removed

comment:2 by gaben, 18 hours ago

Component: CoreInternal preset

Modify Ticket

Change Properties
Set your email in Preferences
Action
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 Crashillo.
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.