wkt

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2018 License: MIT, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(text string) (geo geom.Geometry, err error)

func Encode

func Encode(geo geom.Geometry) (string, error)

WKT returns a WKT representation of the Geometry if possible. the Error will be non-nil if geometry is unknown.

Types

type ErrUnknownGeometry

type ErrUnknownGeometry struct {
	Geom geom.Geometry
}

func (ErrUnknownGeometry) Error

func (e ErrUnknownGeometry) Error() string

Directories

Path Synopsis
internal
cmd/fuzz/fuzz
Package fuzz provides primitives to generate random geom geometry types.
Package fuzz provides primitives to generate random geom geometry types.

Jump to

Keyboard shortcuts

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