Module osm.history

Ordered authoritative OSM element histories.

Historical versions are deliberately distinct from live OwnedNode/Way/ Relation values. In particular, current OSM API history may represent a deleted Node with visible=false and without lat/lon; the history model keeps that absence explicit instead of inventing a (0,0) location.

Date

2026-11-08

Structs

NameDescription
ElementHistory Owning ordered version sequence for one OSM element identity.
HistoricalNodeVersion One authoritative historical Node version.
HistoricalRelationVersion One authoritative historical Relation version.
HistoricalWayVersion One authoritative historical Way version.
HistoryStatus Diagnostic for a rejected history sequence.

Enums

NameDescription
HistoricalVisibility Visibility state encoded by one historical version.
HistoryCoverage Whether a history intentionally covers every version from 1 to its tail.
HistoryError Structured history-construction failure.

Aliases

NameTypeDescription
NodeHistory ElementHistory!(osm.history.HistoricalNodeVersion) Typed consumer aliases.
RelationHistory ElementHistory!(osm.history.HistoricalRelationVersion)
WayHistory ElementHistory!(osm.history.HistoricalWayVersion)