Key:end_date

From OpenStreetMap Wiki
Jump to navigation Jump to search

Split (260036) - The Noun Project.svg

This key differs significantly between OpenStreetMap and OpenHistoricalMap. For definitions and usage instructions in OpenHistoricalMap, see OpenHistoricalMap/Tags/Key/end_date.
Public-images-osm logo.svg end_date
Target Closing Sign Gastonia, NC (6995771381).jpg
Description
Date when object ceased to exist (or will cease to exist). Show/edit corresponding data item.
Group: properties
Used on these elements
may be used on nodesmay be used on waysmay be used on areas (and multipolygon relations)may be used on relations
Status: in use

end_date=* was designed to indicate when a feature is planned to go out of use, or when it went out of service, or when it was demolished. It is also used in separate historic mapping projects (like OpenHistoricalMap) but should not be used for same purpose in the main OSM database, as the key meaning differs.

If possible, end_date=* should be accompanied by source:end_date=* to provide more information. Also note=* or note:end_date=* might be helpful.

See start_date=* for details of formatting of dates.

Please see Comparison of life cycle concepts for alternatives.

Common uses in practice

end_date=* in the future

  • to indicate that some feature (e.g. shop=*, club=*, amenity=* etc.) has announced they will close / go out of business at specified date in the future (e.g. see this key picture). That information can be used by users and validators to indicate features which will have (after that date) likely become obsolete, and which should thus then be resurveyed (and possibly removed or marked as e.g. shop=vacant or replaced with another feature which came instead of it). To warn consumers that the shop will be closed in the future, you may additionally use e.g. opening_hours=closed; 2025 Jan 01 - 2025 Oct 04 Mo-Fr 08:00-17:00; Sa-Su,PH off (to indicate shop will be closed after 4 Oct 2025; check format in opening_hours evaluator)

end_date=* in the past

Possible issues / invalid uses

If not used carefully this tag can break things. For example:

  • map features (such as roads) which are no longer existent will be displayed as existing or confuse routers (see also troll tag). In particular dates in the past should not be used for roads or other important features as most rendering and routing engines will ignore it and provide wrong information. Some developers have repeatedly expressed their unwillingness to support end_date=*. Somewhat better supported (but still support is not universal yet) are:
  • It's also not always obvious what end_date=* refers to if applied to an object with multiple tags. source:end_date=* might help if present, but preferably the features should be split (see One feature, one OSM element for more details). E.g. try to understand what version 2 of relation 3848705 actually means.
  • Sometimes it is erroneously used to note planned completion date of construction – for example of highway=construction, though this use should use opening_date=*, even if that date is yet in the future.

See also