프로젝트
소개
H3 지리 공간 인덱싱 시스템의 Rust 구현입니다.
과학 및 공학측정된 스타 증가
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +4
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalh3o
Rust implementation of the H3 geospatial indexing system.
Design
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.
Installation
Cargo
- Install the rust toolchain in order to have cargo installed by following this guide.
- run
cargo install h3o
Usage
use h3o::{LatLng, Resolution};
let coord = LatLng::new(37.769377, -122.388903).expect("valid coord");
let cell = coord.to_cell(Resolution::Nine);
Why this name?
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 ¯\(ツ)/¯
License
관련 프로젝트 살펴보기
불러오는 중…