Skip to main content

Crate geospatial_types

Crate geospatial_types 

Source
Expand description

Shared data records and the error model for the Maps SDK.

This crate has no input/output. Provider implementations, the rendering engine and the navigation engine all exchange the records defined here.

Re-exports§

pub use bounding_box::BoundingBox;
pub use coordinate::GeographicCoordinate;
pub use elevation::ElevationPoint;
pub use elevation::ElevationProfile;
pub use error::CacheOperationFailureReason;
pub use error::OfflineGraphInvalidReason;
pub use error::SDKError;
pub use place::GeocodeQuality;
pub use place::PlaceResult;
pub use raster::RasterImageFormat;
pub use raster::RasterTileData;
pub use raster::RasterTileResolution;
pub use route::AvoidOptions;
pub use route::DistanceMatrix;
pub use route::DistanceMatrixEntry;
pub use route::LaneGuidance;
pub use route::ManeuverType;
pub use route::RouteData;
pub use route::RouteLeg;
pub use route::RouteOptions;
pub use route::RouteStep;
pub use route::TransportationMode;
pub use route::TurnDirection;
pub use route::UnitSystem;
pub use traffic::TrafficFlowCongestionLevel;
pub use traffic::TrafficFlowData;
pub use traffic::TrafficIncident;
pub use traffic::TrafficIncidentSeverity;
pub use traffic::TrafficIncidentType;
pub use vector::VectorTileData;
pub use vector::VectorTileEncoding;

Modules§

bounding_box
Axis-aligned rectangular bounding box record.
coordinate
Geographic coordinate record and distance mathematics.
elevation
Elevation record types.
error
The typed error model shared across every crate and exposed over the binding layer.
place
Place and geocoding result records.
raster
Raster tile imagery records (option-1 map source).
route
Route, leg, step, maneuver, lane guidance and distance-matrix records.
traffic
Traffic incident and traffic flow records.
vector
Vector tile imagery records (option-2 map source).