Opened 11 years ago
Last modified 6 years ago
#11270 closed enhancement
Test for missing/wrong railway=crossing|level_crossing — at Version 4
| Reported by: | naoliv | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 16.02 |
| Component: | Core validator | Version: | |
| Keywords: | Cc: | lists@… |
Description (last modified by )
We exchange this for 3 beers if accepted or for 1 beer if something needs to be adjusted (1 beer too if not accepted):
way[railway =~ /^(light_rail|miniature|narrow_gauge|preserved|rail|tram)$/] > node { set .is_in_railway } way[highway =~ /^(bridleway|cycleway|footway|path|steps)$/] > node[railway != crossing].is_in_railway { throwWarning: tr("should have railway=crossing where pedestrians cross"); fixAdd: "railway=crossing"; } way[highway =~ /^(bus_guideway|living_street|motorway|pedestrian|primary|raceway|residential|road|secondary|service|tertiary|track|trunk|unclassified)/] > node[railway != level_crossing].is_in_railway { throwWarning: tr("should have railway=level_crossing where road cross"); fixAdd: "railway=level_crossing"; }
Change History (4)
comment:1 by , 11 years ago
| Cc: | added |
|---|
comment:2 by , 11 years ago
comment:4 by , 11 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.



It seems that the beers scared people here