﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
11270	Test for missing/wrong railway=crossing|level_crossing	naoliv	team	"We exchange this for 3 beers if accepted or for 1 beer if something needs to be adjusted (1 beer too if not accepted):

{{{
#!mapcss
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"";
}
}}}"	enhancement	new	normal		Core validator				lists@…
