Specifies the direction of a feature.
The key direction is used in a variety of situations to specify the direction of a feature.
Angles and cardinal directions
Angles and cardinal directions can be used to specify in which direction a feature, e.g. a traffic sign or a bench, faces.
|<number>||The given number specifies the degrees from 0 to 359 in which the feature faces, where 0 is equal to northward.|
|<cardinal>|| One of the cardinal directions, specified using uppercase characters [NWSE], e.g. |
This image shows all possible values for cardinal directions together with the corresponding degrees.
Bench facing east:
amenity=bench direction=E (or direction=90)
Stop sign facing north-north-west:
The values direction=north/south/east/west are used as synonyms for direction=N/S/E/W (see above) and should be treated the same way. Combinations like e.g.
north-east should not be specified in that form.
|anticlockwise||The roundabout runs anti-clockwise.|
|clockwise||The roundabout runs clockwise.|
Please note, that the default rendering for mini-roundabouts is anti-clockwise when not specified.
Mini-roundabout running clockwise:
The tags direction=up and direction=down have been used on highway=steps, to specify if the stairs lead up or down in the direction of the way. This has since been obsoleted by incline=up and incline=down.
The tags direction=forward and direction=backward are rarely used to specify the direction of a traffic sign as was suggested here (example). As this is ambiguous in case the node belongs to more than one way it is strongly advised to use cardinal directions in this situation, if needed.