Rust implementation of the H3 geospatial indexing system.
This is not a binding of the reference implementation, but a reimplementation from scratch.
The goals are:
- To be safer/harder to misuse by leveraging the strong typing of Rust.
- To be 100% Rust (no C deps): painless compilation to WASM, easier LTO, …
- To be as fast (or even faster when possible) than the reference library.
- Install the rust toolchain in order to have cargo installed by following this guide.
- run
cargo install h3o
use h3o::{LatLng, Resolution};
let coord = LatLng::new(37.769377, -122.388903).expect("valid coord");
let cell = coord.to_cell(Resolution::Nine);
Rust is an iron oxide.
A Rust version of H3 is an H3 oxide, in other word