﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
19603	[Patch] footway=* instead of sidewalk=* on roads	Famlam	team	"[https://wiki.openstreetmap.org/wiki/Key:footway The key footway] is quite often incorrectly used when (in most cases, most likely) `sidewalk=*` is meant.

Perhaps it is an idea to make the validator complain about ""disallowed"" `highway` values combined with `footway=*`? (Formally it's allowed on `highway=footway/path/construction` only, although it seems quite a common tag to use on `highway=cycleway` too)
[https://overpass-turbo.eu/s/WDJ overpass-turbo] for the area around The Netherlands

If not, then it might be worth adding a check for `footway=*` without `highway=*` tag (or prefixed `highway` keys)? [https://overpass-turbo.eu/s/WDM Overpass-turbo]


{{{
#!rule
/* 19603 */
way[footway][highway][footway=sidewalk][highway!=footway][highway!=path][highway!=construction][highway!=cycleway] {
  throwWarning: tr(""{0} together with {1}"", ""{0.tag}"", ""{1.tag}"");
  group: tr(""suspicious tag combination"");
  suggestAlternative: ""sidewalk=left"";
  suggestAlternative: ""sidewalk=right"";
  suggestAlternative: ""sidewalk=both"";
}
/* 19603 */
way[footway][highway][footway!=sidewalk][highway!=footway][highway!=path][highway!=construction][highway!=cycleway] {
  throwWarning: tr(""{0} together with {1}"", ""{0.tag}"", ""{1.tag}"");
  group: tr(""suspicious tag combination"");
}

/* 19603 */
way[footway][!highway][!/:highway$/],
way[cycleway][!highway][!/:highway$/] {
  throwWarning: tr(""{0} without {1}"", ""{0.key}"", ""{1.key}"");
  set MissingKeyWarning;
  group: tr(""missing tag"");
}
}}}"	enhancement	closed	normal	20.09	Core validator		fixed	footway sidewalk	Klumbumbus
