Modify

Opened 12 months ago

Closed 3 months ago

Last modified 3 months ago

#17022 closed enhancement (fixed)

Enhance Validator for "Missing attribute - Railway crossing without railway=level_crossing"

Reported by: Rainero Owned by: team
Priority: normal Milestone: 19.08
Component: Core validator Version:
Keywords: Cc: Rainero

Description

Recently I found warnings of the JOSM validator (Prüfung) with the warning "Missing attribute - Railway crossing without railway=level_crossing" (in my german version it is "fehlendes Merkmal - Bahnübergang ohne railway=level_crossing"; I don't know, whether my translation meets the message in the english version).

However in this case, that aren't railway level_crossings, because the ways of the street and the tram ar overlaying and have therefore common nodes.

Would it be possible to enhance the validator so that the warning is raised only, if the common node of railway and highway is a singular node? Means: if the consecutive node of the railway is the same highway, suppress the warning, because then it is obvious that railway and highway are overlaying ways, following the same way and not are a crossing.

The example that I found and checked on the ground:

https://www.openstreetmap.org/node/274313493
https://www.openstreetmap.org/node/274313489
https://www.openstreetmap.org/node/366339560
https://www.openstreetmap.org/node/274313472
https://www.openstreetmap.org/node/366339562
https://www.openstreetmap.org/node/274313469

It is a section of the tram in the street König-Karl-Straße in Bad Wildbad, Germany.

Especially for trams such situations are not unusual, so it might be valuable to enhance the validator.

Bye,
Rainer

Attachments (0)

Change History (3)

comment:1 Changed 12 months ago by Klumbumbus

For trams the warning is disabled. You shouldn't get a warning when you (without uploading) change the way to railway=tram in JOSM.
It seems we should handle light_rail similar to tram.

comment:2 Changed 3 months ago by Klumbumbus

Resolution: fixed
Status: newclosed

In 15314/josm:

fix #18070, see #15483, fix #17022, see #11270 - restore display of tram when tagged together or overlapping with highway, handle light_rail the same as tram, i.e. draw on top of highway and don't warn about missing railway=crossing|level_crossing

comment:3 Changed 3 months ago by Klumbumbus

Milestone: 19.08

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.