spatial

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SpatialTypeGeomCollection function = iota + 1
	SpatialTypeGeomFromText
	SpatialTypeDistance
	SpatialTypeWithin
	SpatialTypeEquals
	SpatialTypePointFromText
	SpatialTypePointFromWKB
	SpatialTypeLineString
	SpatialTypePoint
	SpatialTypePolygon
	SpatialTypeArea
	SpatialTypeAsText
	SpatialTypeAsWKB
	SpatialTypeAsWKT
	SpatilaTypeAsGeoJSON
	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