Key:sidewalk: Difference between revisions

From OpenStreetMap Wiki
Jump to navigation Jump to search
(eliminate self-link)
(Documented the deprecation of sidewalk=none)
Line 43: Line 43:
| Only a sidewalk on the [[left]] side of the way representing the street.
| Only a sidewalk on the [[left]] side of the way representing the street.
|-
|-
| {{Value|no}}
| There is no sidewalk at all.
|- bgcolor="LightPink"
| {{Value|none}}
| {{Value|none}}
| There is no sidewalk at all. ''synonym of {{Value|no}}''
| ''synonym of {{Value|no}}, [[Key:sidewalk#Deprecation of sidewalk=none|deprecated]]''
|-
| {{Value|no}}
| There is no sidewalk at all. ''synonym of {{Value|none}}''
|-
|-
| {{Value|yes}}
| {{Value|yes}}
Line 91: Line 91:


[[File:Sample of Sidewalks and footways (with knobs on).png|500px|thumb|center|Sample of ''Sidewalks and footways (with knobs on)'' in JOSM. The dashes lines along the street indicate the presence (separately mapped or implied) or absence of sidewalks.]]
[[File:Sample of Sidewalks and footways (with knobs on).png|500px|thumb|center|Sample of ''Sidewalks and footways (with knobs on)'' in JOSM. The dashes lines along the street indicate the presence (separately mapped or implied) or absence of sidewalks.]]

== Deprecation of sidewalk=none ==
In discussions on several different forums support has been voiced for the deprecation of {{tag|sidewalk|none}} in favour of {{tag|sidewalk|no}}.<ref>https://wiki.openstreetmap.org/wiki/Talk:Key:sidewalk#Is_sidewalk.3Dnone_valid.3F</ref><ref>https://github.com/openstreetmap/id-tagging-schema/pull/222</ref><ref>https://josm.openstreetmap.de/ticket/21242</ref><ref>https://josm.openstreetmap.de/ticket/21235</ref><ref>https://github.com/streetcomplete/StreetComplete/pull/3194</ref><ref>https://forum.openstreetmap.org/viewtopic.php?id=58656</ref>

A comparison of the usage of both tags can be found at [https://taginfo.openstreetmap.org/compare/sidewalk=no/sidewalk=none Taginfo] and [http://taghistory.raifer.tech/#***/sidewalk/no&***/sidewalk/none OSM tag history]

Please note that updating {{value|none}} to {{value|no}} without manual review should be done in compliance with the [[Automated Edits code of conduct]].


== Rendering ==
== Rendering ==

Revision as of 11:54, 26 August 2021

Public-images-osm logo.svg sidewalk
Sidewalk and zebra-crossing.jpg
Description
Indicates the presence or absence of a sidewalk (pavement/footway). Show/edit corresponding data item.
Group: Sidewalks
Used on these elements
should not be used on nodesmay be used on waysshould not be used on areasshould not be used on relations (except multipolygon relations)
Requires
Useful combination
See also
Status: de factoPage for proposal

The sidewalk=* key can be used to indicate the presence or absence of a sidewalk (pavement/footway/foopath) alongside a street where the footway runs parallel to the carriageway.

Using just the sidewalk=* tag without drawing the actual sidewalks is called the "refinement of the highway" approach. Alternatively, sidewalks can be mapped as separate footways, see Sidewalks for details on this distinction. When mapping sidewalks separately (or just one side separate and the other using sidewalk=*) one may use sidewalk=separate and sidewalk:left=separate and sidewalk:right=separate.

Usage

To provide information about sidewalks associated with streets, add the sidewalk=* tag to the highway=* way representing the street and add any additional tags (below) describing the sidewalk.

The values left and right depend on the direction in which the way is drawn in OpenStreetMap. A value of left means the left-hand side of the road when looking in forward direction, while right means the right-hand side. See Forward & backward, left & right for more.

For footpaths besides railways (railway=*) please use a separate way (e.g. highway=footway).

Values

Value Description
both Both sides of the street have sidewalks.
right Only a sidewalk on the right side of the way representing the street.
left Only a sidewalk on the left side of the way representing the street.
no There is no sidewalk at all.
none synonym of no, deprecated
yes Either both sides or one side of this street have sidewalks. Use a more specific tag in preference.
separate This road has sidewalks but these are mapped using separate ways. If a there is a separately mapped sidewalk on only one side of the road, consider the more specific tags below.

Separately mapped sidewalks on only one side

Sometimes when a sidewalk is mapped separately, this is done on only one side of the road (e.g., when there is a narrow grass verge or parking bays that separate it from the carriage way but not on the other side, or the other side lacks a sidewalk altogether). Because sidewalk=separate alone is not sufficient for this scenario, the sidewalk:left=* and sidewalk:right=* tags may be used.

Example Description
sidewalk:left=no + sidewalk:right=separate There is a separately mapped sidewalk on the right side of the road, and no sidewalk on the left.
sidewalk:left=yes + sidewalk:right=separate There is a separately mapped sidewalk on the right side of the road, and a sidewalk on the left which is not mapped separately.

sidewalk:left=* and sidewalk:right=* are more specific than sidewalk=*, and override the latter when both are used. Mappers are encouraged however to avoid mixing them and should prefer to use sidewalk=* unless the situation cannot be represented by it (such as the two examples listed above).

Additional tags

Additional tags can be added by using the sidewalk: prefix, in combination with the :left/right/both suffix (becoming an infix here). For example:

When a sidewalk is mapped separately (as indicated by sidewalk=separate, sidewalk:left=separate, or sidewalk:right=separate, than any properties of that sidewalk should be mapped on that separately drawn way instead (not using the above tags on the road itself).

Editing with JOSM

In JOSM the Map Paint Style Sidewalks and footways (with knobs on) or SidewalksPlus can be used to visualize the sidewalk=*, sidewalk:left=*, and sidewalk:right=* tags:

Sample of Sidewalks and footways (with knobs on) in JOSM. The dashes lines along the street indicate the presence (separately mapped or implied) or absence of sidewalks.

Deprecation of sidewalk=none

In discussions on several different forums support has been voiced for the deprecation of sidewalk=none in favour of sidewalk=no.[1][2][3][4][5][6]

A comparison of the usage of both tags can be found at Taginfo and OSM tag history

Please note that updating none to no without manual review should be done in compliance with the Automated Edits code of conduct.

Rendering

Possible tagging mistakes

If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!
If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!
If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!
If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!
If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!
If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!
If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!

See also