Crate rust

source ·
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§

Enums§

Constants§

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