geohasher

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeoHasher

type GeoHasher struct{}

func NewGeoHasher

func NewGeoHasher() *GeoHasher

func (*GeoHasher) GetGeohashesOfPolygon

func (g *GeoHasher) GetGeohashesOfPolygon(p *geom.Polygon, precision uint) []string

func (*GeoHasher) NewGeomPolygon

func (g *GeoHasher) NewGeomPolygon(coords [][]float64) *geom.Polygon

type Point

type Point struct {
	X float64
	Y float64
}

Jump to

Keyboard shortcuts

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