Expand description
The s2json
Rust crate provides functionalities to read and write S2JSON Spec data structures.
This crate is a 0 dependency package that uses no_std
and is intended to be used in
embedded systems and WASM applications.
NOTE: WG stands for WGS84 and S2 stands for S2Geometry
Re-exports§
Modules§
- All geometry types and structs
- All values types and structs
Structs§
- Component to build either an S2 or WG Feature
- WG FeatureCollection
- Component to build either an S2 or WG Feature
- S2 FeatureCollection
Enums§
- Either an S2 or WG FeatureCollection
- Either an S2 or WG Feature
- All major S2JSON types
Constants§
- Cube face 0
- Cube face 1
- Cube face 2
- Cube face 3
- Cube face 4
- Cube face 5
Type Aliases§
- 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” }
- Cube-face on the S2 sphere