Opened 9 years ago
Closed 9 years ago
#13931 closed defect (invalid)
railway=level_crossing should suppress warning about missing railway=crossing
| Reported by: | julianladisch | Owned by: | team |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Core validator | Version: | latest |
| Keywords: | railway crossing | Cc: |
Description
What steps will reproduce the problem?
- Have a highway=residential with highway=cycleway in parallel. A railway=rail crosses both, each crossing point is marked as railway=level_crossing:
https://www.openstreetmap.org/#map=19/51.54227653295483/9.903142078151385
- Run core validator.
What is the expected result?
No complain about railway=level_crossing at the cycleway because residential and cycleway together can be seen as a big level_crossing.
What happens instead?
Missing tag warning: pedestrian railway crossing without railway=crossing
Please provide any additional information below. Attach a screenshot if possible.
Suggested fix: Suppress warning about missing railway=crossing if railway=level_crossing exists:
https://josm.openstreetmap.de/browser/josm/trunk/data/validator/highway.mapcss#L121
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2016-11-06 20:18:38 +0100 (Sun, 06 Nov 2016) Build-Date:2016-11-06 21:45:03 Revision:11223 Relative:URL: ^/trunk Identification: JOSM/1.5 (11223 en) Linux openSUSE 13.2 (Harlequin) (x86_64) Memory Usage: 267 MB / 455 MB (158 MB allocated, but free) Java version: 1.8.0_101-b13, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 1600x900 Maximum Screen Size: 1600x900 Java package: java-1_8_0-openjdk:x86_64-1.8.0.101 Dataset consistency test: No problems found Plugins: + HouseNumberTaggingTool (32699) + PicLayer (32796) + RoadSigns (32796) + buildings_tools (32944) + reverter (32796)



highway=cyclewayis a pedestrian way https://wiki.openstreetmap.org/wiki/Pedestrian#Pedestrian_ways_independent_from_a_streetrailway=crossing says exactly this:
a point where pedestrians may cross a railwayBy supressing the warning when
railway=level_crossingexists it won't catch wrong pedestrian crossings marked asrailway=level_crossing