geof

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(a *sql.Polygon, b *sql.Point) bool

func GeohashDecode

func GeohashDecode(hash string) *sql.Point

func GeohashEncode

func GeohashEncode(point *sql.Point, precision int64) string

func Haversine

func Haversine(a, b *sql.Point) float64

func Inside

func Inside(a *sql.Point, b *sql.Polygon) bool

func Intersects

func Intersects(a, b interface{}) bool

func Point

func Point(val interface{}) (out *sql.Point, ok bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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