Test for missing/wrong railway=crossing|level_crossing
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
(13)
Description: |
modified (diff)
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
It seems that the beers scared people here