pub fn line(
linestring: &LineString<f64>,
h3_resolution: u8
) -> Result<IndexVec<H3Cell>, Error>
Expand description
Generate h3 cells along the given linestring
The returned cells are ordered sequentially, there are no duplicates caused by the start and endpoints of multiple line segments.
Errors
The function may fail if invalid indexes are built from the given coordinates.