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§
Structs§
- H3Cell
- H3 Index representing a H3 Cell (hexagon)
- H3Directed
Edge - H3 Index representing an directed H3 edge
Enums§
- H3Direction
- H3 digit representing ijk+ axes direction. See documentation
Constants§
Traits§
- From
H3Index - trait for types which can be created from an
H3Index
- HasH3
Resolution - trait to be implemented by all structs being based on H3 data with a given resolution
- Index
- Trait to handle types having a H3 Index like cells and edges
Functions§
- compact_
cells - the input vec must be deduplicated and all cells must be at the same resolution
- grid_
path_ cells - Line of h3 indexes connecting two cells
- grid_
path_ cells_ size - Number of cells in a line connecting two cells
- line
- Generate h3 cells along the given linestring
- max_
grid_ disk_ size - maximum number of cells needed for the
k_ring
- res0_
cell_ count res0_cell_count
returns the number of resolution 0 indexes- res0_
cells - provides all base cells in H3Index format