Crate osmx

source ·

Structs§

  • A handle to an OSMX database file
  • A reader for values in the locations table, which store the coordinates of OSM Nodes.
  • A reader for a value in the nodes table, which stores the tags and metadata for OSM Nodes.
  • A reader for an OSM Relation in the relations table, including its tags, metadata, and list of members.
  • A reader for a member reference of an OSM Relation. Created by calling Relation::members
  • A handle which can be used to read from the Database. The handle ensures that all reads see the same snapshot of the data, even if it is being modified simultaneously by another process.
  • A reader for an OSM Way stored in the ways table, including its tags, metadata, and list of constituent Nodes.

Type Aliases§

  • A table which maps OSM Node IDs to structs containing the Node’s lon/lat coordinates.
  • A table which maps OSM Node IDs to structs containing the Node’s tags and metadata. Untagged nodes are omitted from this table (they only exist in the Locations table).
  • A table which maps OSM Relation IDs to structs containing the Relations’s tags, metadata, and the IDs, types, and roles of the Relation’s members.
  • A table which maps OSM Way IDs to structs containing the Way’s tags, metadata, and the IDs of the Nodes that make up the Way.