Expand description
This crate depends on the h3ron-h3-sys
crate, which includes the C sources for libh3. So
compiling requires a C toolchain and the cmake
build tool.
Features
- use-serde: serde serialization/deserialization for most types of this crate.
- use-rayon
- roaring: Enables
collections::H3Treemap
based on theroaring
crate. - parse: Parse
H3Cell
from different string representations usingH3Cell::from_str
.
Re-exports
pub use to_geo::to_linked_polygons;
pub use to_geo::ToAlignedLinkedPolygons;
pub use to_geo::ToCoordinate;
pub use to_geo::ToLinkedPolygons;
pub use to_geo::ToPolygon;
pub use error::Error;
pub use localij::CoordIj;
pub use to_h3::ToH3Cells;
pub use to_h3::ToIntersectingH3Cells;
Modules
- Hashing
- Iterator functionalities
Structs
- H3 Index representing a H3 Cell (hexagon)
- H3 Index representing an directed H3 edge
Enums
- H3 digit representing ijk+ axes direction. See documentation
Constants
Traits
- trait for types which can be created from an
H3Index
- trait to be implemented by all structs being based on H3 data with a given resolution
- Trait to handle types having a H3 Index like cells and edges
Functions
- the input vec must be deduplicated and all cells must be at the same resolution
- Line of h3 indexes connecting two cells
- Number of cells in a line connecting two cells
- Generate h3 cells along the given linestring
- maximum number of cells needed for the
k_ring
res0_cell_count
returns the number of resolution 0 indexes- provides all base cells in H3Index format