User:Alv/Highway decision tree
Work in progress
The Original tree
Before highway=path was conceived, this was the way to tag ways with the highway key. It's still mostly valid, and mostly does not contradict with newer ideas.
- Is it steps?
- Is it a signposted motorway?
- Is it a "proper" road which allows regular motor vehicles?
- Is there a "public footpath" sign, or a sign (or similar)?
- Yes: highway=footway. (Originally, if it had the "public footpath" sign, there was a recommendation to add foot=yes to differentiate it from permissive and other footpaths; now there's designation=public_footpath for that.)
- Does it somehow allow cyclists?
- Yes: add bicycle=yes. End of algorithm.
- No: End of algorithm.
- Does it somehow allow cyclists?
- No: next step.
- Yes: highway=footway. (Originally, if it had the "public footpath" sign, there was a recommendation to add foot=yes to differentiate it from permissive and other footpaths; now there's designation=public_footpath for that.)
- Is there a "public cycleway" sign or a or or , or similar?
- Is there a "public bridleway" sign, or or similar?
- There's still two traffic signs available: Does it have , or "No motor vehicles"?
- Yes: cyclists and pedestrians are still allowed (and probably horses, too). Signs didn't give an unambiguous answer, so you'll have to use heuristics. Jump to step 9 for these.
- No: next step.
- Does it have or similar?
- Does it only lead to something tagged highway=steps?
- If it was , or similar, but with an auxiliary sign effectively stating "driving to premises allowed":
- Does it lead to a (private) parking space somewhere (which means that there's likely some motorcar traffic on most days), it might well be a highway=service + service=driveway. If that is not the only destination, just split it where such use ends, and consider the next part separately. On the other hand, if there's hardly any such "destination" motor vehicle traffic (say, just one house), but lots of cyclists or pedestrians, footway or cycleway can be more fitting; just add motor_vehicle=private/destination. Jump to next step.
- Does it only lead a farm field or fields, or deep inside a forest just for timber harvesting? Are there signs of regular tractor use, i.e. small heaps of clay or wide tire ruts?
- Yes: it looks like it's mostly for (private) agricultural/forestry traffic only; highway=track, with foot+bicycle tags as fitting.
- No: it's usable as a through route, but might effectively be an unused detour.
- Is it mostly used by pedestrian/cyclist traffic as a through route, or just for strolling?
- Did it allow horses?
- No: apparently it's mainly for pedestrians and/or cyclists. Next step.
- Yes: it might fit bridleway, but first: what does it look like?
- Mud, turf, sand, grass, soft, good for a gallop, hard for a city cyclist: it works like a bridleway, it looks like a bridleway; so tag highway=bridleway + foot=yes + bicycle=yes + surface=* + wheelchair=no. End.
- Compacted, paved, or otherwise "built for walking or vehicles": doesn't look like a bridleway, horse riders wouldn't prefer it, so next step.
- Would you call it a cycleway, or a footway? Do you ever see cyclists on it, or just local residents walking from their home to their car? Is there are more cycleway-like road/"path" next to it? It's not legally anything with a 1:1-relation to osm highway values, so you need to use local knowledge and local judgement; choose one of
After the algorithm is complete, you would then add any legal allowances given by "additional signs", or by land owner's right (i.e. , and add tags like surface, segregated, wheelchair, lit etc.
The traffic sign based tree
From the discussions around the then proposed highway=path, the decision tree would change somewaht. The first steps are the same as above.
- Is it steps?
- Is it a signposted motorway?
- Is it a "proper" road which allows regular motor vehicles?
- Is there a "public footpath" sign, or a sign (or similar)?
- Is there a or similar?
- Is there a "public cycleway" sign or a or or similar?
- Is there a "public bridleway" sign, or or similar?
- Does it have , or "No motor vehicles", but with an auxiliary sign effectively allowing farm/forestry traffic, i.e. tractors and logging trucks?
- Does it have , or , or "No motor vehicles"?
- Apparently it has no signs. Are any motor vehicles still allowed (some countries don't consider mopeds or mofas motor vehicles in this context)?
[1] makes a forest trail use the same highway value as a signposted combined pedestrian/cyclist way (that is or similar). Compare with the next point:
[2] makes a distinction in the highway tag between signposted combined pedestrian/cyclist ways (that is ) and ones that are , but effectively identical.
[3] makes perfect de-facto combined pedestrian/cyclist ways appear as tracks.
Work in progress