h3tools

package
v0.0.0-...-5c3c994 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebupAndCompactCells

func DebupAndCompactCells(cells []h3.Cell) []h3.Cell

func DedupCells

func DedupCells(cells []h3.Cell) []h3.Cell

func H3CellToPoint

func H3CellToPoint(cell h3.Cell) geometry.Point

func H3CellToPoints

func H3CellToPoints(cell h3.Cell) []geometry.Point

func H3CellToPoly

func H3CellToPoly(cell h3.Cell) *geometry.Poly

func H3CellsToMultiPolygon

func H3CellsToMultiPolygon(cells []h3.Cell) *geojson.MultiPolygon

func MultiPolyToH3

func MultiPolyToH3(multipoly *geojson.MultiPolygon, maxResolution int) []h3.Cell

func ObjectToH3

func ObjectToH3(obj geojson.Object, maxResolution int) []h3.Cell

func PolyContainsPointOfH3

func PolyContainsPointOfH3(poly *geometry.Poly, cell h3.Cell) bool

func PolyToH3

func PolyToH3(poly *geojson.Polygon, maxResolution int) []h3.Cell

func PolyToH3Poly

func PolyToH3Poly(poly *geometry.Poly) h3.GeoPolygon

func RingToH3GeoLoop

func RingToH3GeoLoop(ring geometry.Ring) h3.GeoLoop

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL