#18572 closed enhancement (fixed)
Bicycle routes wrong warning
Reported by: | Dardy | Owned by: | Klumbumbus |
---|---|---|---|
Priority: | normal | Milestone: | 20.01 |
Component: | Core validator | Version: | |
Keywords: | Cc: |
Description
Josm validator shows a warning message when a relation route=bicycle type=route contains some points related to guideposts.
Warning message is: type 'node' of relation member with role " does not match accepted types 'way/closed way' in preset bicycle route. In route wiky (https://wiki.openstreetmap.org/wiki/Relation:route) seems that points are accepted for guidepost.
Same route with same guidepost points, but with route=hiking instead bicycle does not show any warning.
Guideposts exist for hiking but also for bike
Attachments (2)
Change History (13)
Changed 3 years ago by
Attachment: | warning.PNG added |
---|
comment:1 Changed 3 years ago by
Owner: | changed from team to Klumbumbus |
---|---|
Status: | new → assigned |
Type: | defect → enhancement |
Version: | tested |
comment:2 Changed 3 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 3 years ago by
Milestone: | 20.02 → 20.01 |
---|
comment:4 Changed 3 years ago by
Thank you, I will try with latest josm release in order to check it.
comment:5 follow-up: 6 Changed 3 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Checked the solution with josm latest version but seems not complete. Accordingly to wiky guidepost role should not be mandatory, so there are the following cases possible:
- relation with points and guidepost role set -> OK (fixed)
- relation with points without guidepost role -> WARNING (to be fixed, no warning expected, as role is not mandatory)
- relation with points with other role -> WARNING (it's correct)
comment:6 Changed 3 years ago by
Replying to Dardy:
Checked the solution with josm latest version but seems not complete. Accordingly to wiki guidepost role should not be mandatory,
Could you, please, point me to the wiki page where you get the information about guidepost from? On the main route wiki page (route relation) the role "guidepost" is demanded.
comment:7 follow-ups: 8 9 Changed 3 years ago by
I see in the table "Members" at Role=guidepost a "?" (=optional) and a "0+" (Optional; 0 or more instances). Where did you see any "demanded"?
comment:8 Changed 3 years ago by
Replying to mdk:
I see in the table "Members" at Role=guidepost a "?" (=optional) and a "0+" (Optional; 0 or more instances). Where did you see any "demanded"?
I read it differently:
- node with empty role is not allowed
- at least one way without role is needed
- all other members with role are optional but the role is demanded. See "stop" for example.
comment:9 Changed 3 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
If a guidepost is added to the relation then it must get the role "guidepost" and not stay with an empty role.
Changed 3 years ago by
Attachment: | tagInfo roles.PNG added |
---|
comment:10 Changed 3 years ago by
I also read like mdk, nodes do not require mandatory role. A node in a route can be only a guidepost, so the role should be allowed even if a redundant information.
Also TagInfo (image attached) show that a blank role is a standard de facto (318k nodes with blank role vs 61k nodes with filled role) even if the wiki page is so confusing :)
comment:11 Changed 3 years ago by
The "! 1+" and "? 0+" in the column "Recurrence" of the table osmwiki:Relation:route#Members clearly refer to the number of objects with the role written in the column "role". (See also osmwiki:Template:Rolerecurrence)
In 15715/josm: