Crates.io | h3o |
lib.rs | h3o |
version | 0.6.4 |
source | src |
created_at | 2023-01-09 02:49:29.038729 |
updated_at | 2024-05-10 12:49:33.42274 |
description | A Rust implementation of the H3 geospatial indexing system. |
homepage | https://docs.rs/h3o |
repository | https://github.com/HydroniumLabs/h3o |
max_upload_size | |
id | 754064 |
size | 11,912,529 |
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:
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 $H_3O$ (a.k.a hydronium). Chemically speaking this is wrong ( $H_3O$ is produced by protonation of $H_2O$, not oxidation of $H_3$), but ¯\(ツ)/¯