[][src]Crate vadeen_osm

This crate contains implementation to read and write Open Street Maps.

The Osm struct is an abstract representation of an OSM map. You can build your map with this struct by adding nodes, ways and relations. Use the OsmBuilder if you are working with non OSM data, it lets you work with polygons, poly lines and points instead.

The osm_io module contains io functionality for reading and writing multiple OSM formats. Currently osm and o5m is supported.

The geo module contains some more general geographic abstractions used by this crate.

Modules

geo

General geographic data structures.

osm_io

IO functionality for OSM maps.

Structs

AuthorInformation

Author information is used to identify what nodes, ways and relation a specific user has added. When working on non osm maps, this data is irrelevant.

Meta

Common meta data used by multiple entities.

Node

A coordinate with meta data. See OSM docs for Node.

Osm

Abstract representation of an OSM map.

OsmBuilder

OsmBuilder makes it easy to build OSM maps from non OSM data. Polygons, multi polygons, poly lines and points are all represented as vectors of coordinates.

Relation

Group of elements (node, way or relation). See OSM docs for Relation.

Tag

Key value pairs. See OSM docs for Tags.

Way

Group of nodes and meta data. See OSM docs for Way.

Enums

RelationMember