[][src]Crate osm_primitives

Structs

ElementMetadata

Common metadata for an element

Node

A single point in space defined by its latitude, longitude and node id.

ReferencedNode

A reference to a Node, by wrapping it's id.

Relation

A collection of Elements

RelationMember

An entry from a Relation which references another element by id and role.

Tag

A key value pair.

Way

A way is an ordered list of nodes which normally also has at least one tag or is included within a Relation. It can be open or closed, a closed way is one whose last nodes on the way is also the first on that way. A closed way may be interpreted as a closed polyline, a polygon, or both.

Enums

Element
ReferencedElement

A reference to an element, by wrapping it's id.