Skip to main content

Crate omap

Crate omap 

Source
Expand description

A Rust library for reading and writing OpenOrienteering Mapper (.omap) files.

All map coordinates are given in millimetres on paper, relative to the reference point, with the positive y-axis pointing towards magnetic north.

Re-exports§

pub use omap::Omap;

Modules§

colors
Color definitions: spot colors, mixed colors, CMYK, RGB.
format_info
File-format version information (XML and OMAP versions).
geo_referencing
Coordinate-reference-system and projection helpers.
objects
Map objects: points, lines, areas, and text.
omap
The top-level OMAP document type.
parts
Map parts (layers) and their contained objects.
symbols
Symbol definitions: point, line, area, text, and combined symbols.
templates
Background-template support (images, tracks, GDAL/OGR layers).
view
View settings: zoom, grid, template visibility.

Structs§

Code
A three-part version or symbol code of the form A.B.C.
NonNegativeF64
A f64, but not allowed to be negative
UnitF64
A f64, but only allowed to be in the unit interval 0.0..=1.0

Enums§

Error
Errors that can occur when reading, writing, or manipulating OMAP data.