﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
17542	Check segregated keys before autofixing foot/cycleway access [PATCH]	anonymous	team	"After #9257 JOSM could delete usable information.

For example, if we have a tagging, like this:
`highway=cycleway`
`foot=designated`
`bicycle=designated`
`segregated=yes`

in this example the new autofix rule wants to delete the `bicycle=designated` tag. It would be okay, but it ignores the `segregated` key.

I suggest that before running the above autofix rule (added in r14918), check `segregated` key and if it present with `yes` or `no` value, change the highway value to path. This way it becomes a valid tagging.
See the wiki for the tagging scheme: https://wiki.openstreetmap.org/wiki/Tag:highway%3Dpath

Please check it on overpass. I can't do it on global scale, because it running out server memory:
(highway=footway or highway=cycleway) and foot=designated and bicycle=designated and segregated=*

----

The new rule could be applied to:

`highway=<footway/cycleway>`
`foot=designated`
`bicycle=designated`
`segregated=<yes/no>`"	defect	closed	normal	19.03	Core validator	latest	fixed		mkoniecz
