Module geometry

Source
Expand description

Geometry tools

Re-exports§

pub use convert::*;
pub use geo::*;
pub use s2::*;
pub use simplify::*;
pub use tile::*;
pub use util::*;
pub use values::*;
pub use wm::*;

Modules§

convert
Global conversion tool
geo
All geometry types and structs
s2
All S2 tooling
simplify
All simplify tooling
tile
Tile Structure
util
All utility tools
values
All values types and structs
wm
All WM tooling

Structs§

Feature
Component to build an WM Feature
FeatureCollection
WM FeatureCollection
S2FeatureCollection
S2 FeatureCollection
VectorFeature
Component to build an WM or S2 Vector Feature

Enums§

Face
Cube-face on the S2 sphere
FeatureCollections
Either an S2 or WM FeatureCollection
Features
Either an S2 or WM Feature
JSONCollection
All major S2JSON types
Projection
All projections that can be used
WMFeature
Either an WM Feature or an WM Vector Feature

Type Aliases§

Attributions
Attribution data is stored in an object. The key is the name of the attribution, and the value is the href link e.g. { “Open S2”: “https://opens2.com/legal/data” }
S2Feature
Component to build an S2 Feature. Uses VectorFeature but “face” property is applicable