Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#9753 closed defect (fixed)

incorrect warning: member with role "stop" does not match "railway=halt"

Reported by: aceman Owned by: team
Priority: normal Milestone: 14.02
Component: Internal preset Version: latest
Keywords: Cc: simon04

Description (last modified by Don-vip)

I have a railway relation with public_transport:version=1 but I get validator warning of

member with role "stop" does not match "highway=bus_stop || railway=station || railway=halt && railway=tram_stop"

on a stop node that is railway=halt. The warning itself says railway=halt is a correct possibility. So what is wrong with the validator check? Is the && operator actually correct? Shouldn't it be ||? If I change the node to railway=station the warning goes away.

Attachments (1)

JOSM-halt-bug.osm (41.8 KB) - added by aceman 6 years ago.
sample file with the area containing the railway=halt node in a relation

Download all attachments as: .zip

Change History (9)

comment:1 Changed 6 years ago by Don-vip

Description: modified (diff)

comment:2 Changed 6 years ago by Don-vip

Cc: simon04 added

comment:3 Changed 6 years ago by Don-vip

Owner: changed from team to aceman
Status: newneedinfo

Can you please attach a sample file? Thanks.

Changed 6 years ago by aceman

Attachment: JOSM-halt-bug.osm added

sample file with the area containing the railway=halt node in a relation

comment:4 Changed 6 years ago by Don-vip

Owner: changed from aceman to team
Status: needinfonew

thanks

comment:5 Changed 6 years ago by Don-vip

Milestone: 14.02

comment:6 Changed 6 years ago by Don-vip

Component: Core validatorInternal preset

comment:7 Changed 6 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 6884/josm:

fix #9753 - incorrect warning: member with role stop does not match railway=halt

comment:8 Changed 6 years ago by aceman

Seems to work, thanks.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.