Key:state

De OpenStreetMap Wiki
Aller à la navigation Aller à la recherche
state
Description
Operational state of a route relation or route section. Show/edit corresponding data item.
Group: routes
Used on these elements
should not be used on nodesshould not be used on waysshould not be used on areasmay be used on relations
See also
Status: in use

The key state=* is in use on route relations to document the current operational state of the route.

An alternative to state=proposed is to use the prefix proposed:*=*, that is, proposed:route=* - this makes it clearer to database users that this route is not yet in existence, and has other advantages.

The most common values currently in use are:

Software support

Routers and renderers may behave differently depending on the value. For example, state=proposed causes CyclOSM, OpenCycleMap, and OsmAnd to deemphasize the route but causes cycle.travel and Waymarked Trails to hide it entirely. The vector fork of OpenRailwayMap also deemphasizes state=proposed.

See also