Opened 6 years ago

Last modified 5 years ago

#19403 closed enhancement

Request to support new roles when validating route relations. — at Version 6

Reported by: pelderson@… Owned by: team
Priority: normal Milestone: 20.06
Component: Internal preset Version:
Keywords: Cc:

Description (last modified by simon04)

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.

Validation currently warns about roles other than forward, backward, and guidepost for members of route relations.

We would appreciate if the new role values could become accepted by the standard validation rules.

Change History (6)

comment:1 by Klumbumbus, 6 years ago

(Please don't set the milestone next time. Thats up to the JOSM team.)

comment:2 by Klumbumbus, 6 years ago

Component: Core validatorInternal preset

comment:3 by pelderson@…, 6 years ago

Of course. Sorry!

comment:4 by skyper, 6 years ago

forward/backward is missing for route relations in general.

comment:5 by pelderson@…, 6 years ago

Strange... the relation editor supports forward/backward roles for the continuity/way direction line display and when sorting. You would think validation would then also accept the roles!

comment:6 by simon04, 6 years ago

Description: modified (diff)

Currently, we have

         <role key="" text="route segment" requisite="required" type="way,closedway" member_expression="highway|route=ferry"/>
         <role key="" text="infrastructure" requisite="optional" type="node,closedway" member_expression="tourism OR amenity"/>
         <role key="" text="natural" requisite="optional" type="node,closedway" member_expression="natural=peak OR natural=volcano OR mountain_pass=yes OR natural=water OR tourism=viewpoint OR amenity=drinking_water OR natural=spring OR place=locality"/>
         <role key="guidepost" text="guidepost" requisite="optional" type="node" member_expression="information=guidepost"/>

Guidepost coming from osmwiki:Relation:route#Members

I'm waiting for an update of osmwiki:Tag:route%3Dhiking#Elements_of_a_relation. Currently, too much time for researching the status quo is needed (at least for me).

Note: See TracTickets for help on using tickets.