spatial

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SpatialTypeGeomFromText function = iota + 1
	SpatialTypeDistance
	SpatialTypeWithin
	SpatialTypeEquals
	SpatialTypePointFromText
	SpatialTypePointFromWKB
	SpatialTypeLineString
	SpatialTypePoint
	SpatialTypePolygon
	SpatialTypeArea
	SpatialTypeAsText
	SpatialTypeAsWKB
	SpatialTypeAsWKT
	SpatialTypeAsGeoJSON
	SpatialTypeSRID
	SpatialTypeX
	SpatialTypeY
	SpatialTypeIsValid
	SpatialTypeIntersects
	SpatialTypeTransform
)

functions :

Variables

This section is empty.

Functions

This section is empty.

Types

type Func

type Func struct {
	Type function
	Args []interface{}
}

Func :

type Geometry

type Geometry struct {
	Type Type
	SRID uint
	WKT  string
}

Geometry :

func (Geometry) Value

func (g Geometry) Value() (interface{}, error)

Value :

type Type

type Type int

Type :

const (
	Point Type = iota + 1
	LineString
	Polygon
	MultiPoint
	MultiLineString
	MultiPolygon
)

Spatial Type :

Jump to

Keyboard shortcuts

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