Features
In OpenStreetMap, a feature (or map feature) is object, place, or spatial rule that can be mapped and that fits the project's scope. Most features are physical objects and places observable on the ground (such as buildings, roads, trees, and rivers), though OpenStreetMap also maps some non-physical features that are tied to fixed locations and verifiable through signage or official public records, such as administrative boundaries, protected areas, traffic rules, and transit routes that follow fixed courses.
To be within OpenStreetMap's scope, a feature must be current and verifiable (typically observable on the ground), spatially fixed in location, and temporally long-lasting or repeating:
- Excluded as non-current or temporary: Historical features that have left no physical trace, unbuilt future plans, temporary events, and moving objects.
- Excluded as unfixed or dynamic: Airplane flight paths, long-distance open-ocean shipping lanes, weather patterns, and ocean currents.
- Excluded as unverifiable or derived: Subjective opinions (such as star ratings), private personal data, and statistical or computed datasets (such as climate zones, species ranges, or elevation contour lines).
How to map
In the database, a real-world feature is modeled by combining elements (nodes, ways, or relations) with tags (key-value pairs).
A top-level tag defines what the feature is (for example, highway=footway or amenity=cafe), while attribute tags record extra details that the feature has (such as name=*, admin_level=*, or opening_hours=*). The distinction between top-level tags and attribute tags isn't definite, as for example addr:*=* tags can be used to both represent what address some feature has or where an address itself is.
One feature, one OSM element
Under the One feature, one OSM element principle, each real-world feature should be mapped as a single element rather than duplicated. For example, a shop can be mapped either as a node or an area, but the same shop should never be mapped as both a node and an area.
The principle is not always applicable, as a single feature can often not be represented by a single element. For example, a single named street may be required to be split into separate connected ways whenever an attribute changes along its length (such as a speed limit, lane count, surface, or bridge), or at intersections so that distinct sections can be added to a route relation. Because tags and relation memberships would otherwise apply to the entire way, splitting is the only way to describe a part of the street differently, leaving shared tags like name=* to tie the pieces together.
One feature, one OSM element does not imply that one element shouldn't represent multiple features. For example, when a shop occupies an entire building, it is common to tag the building outline itself with both building=* and shop=*, along with attributes of both, such as building:levels=1 and payment:cash=no. This is a standard practice known as dual tagging.
Any tags you like
Because OpenStreetMap is a global map covering a wide range of local features, there is no fixed list of allowed tags. Standard conventions are documented on this wiki, while unusual features can be described using any verifiable tags. This principle is known as Any tags you like.
Feature documentation on the wiki
Documentation for mapping features is organized across three types of pages:
- The Map features page is a central catalog of some commonly mapped features and their standard tags, linking directly to individual key and tag pages.
- Overview guides (indexed in Category:Features) explain broad real-world topics or domains, such as Railways, Public transport, or Addresses, where multiple tags and elements work together and need more explanation than a single tag page can cover.
- Pages with a "Key:" or "Tag:" prefix (such as Key:highway or Tag:highway=footway) document specific keys or tags and which elements they apply to.