Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 828 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 828 Bytes

encoding/wkt Godoc Reference

This package provides encoding and decoding of WKT data. The interface is defined as:

func MarshalString(orb.Geometry) string

func Unmarshal(string) (orb.Geometry, error)
func UnmarshalPoint(string) (orb.Point, err error)
func UnmarshalMultiPoint(string) (orb.MultiPoint, err error)
func UnmarshalLineString(string) (orb.LineString, err error)
func UnmarshalMultiLineString(string) (orb.MultiLineString, err error)
func UnmarshalPolygon(string) (orb.Polygon, err error)
func UnmarshalMultiPolygon(string) (orb.MultiPolygon, err error)
func UnmarshalCollection(string) (orb.Collection, err error)