Documentation ¶
Index ¶
- func MarshalString(g orb.Geometry) string
- func UnmarshalCollection(s string) (p orb.Collection, err error)
- func UnmarshalLineString(s string) (p orb.LineString, err error)
- func UnmarshalMultiLineString(s string) (p orb.MultiLineString, err error)
- func UnmarshalMultiPoint(s string) (p orb.MultiPoint, err error)
- func UnmarshalMultiPolygon(s string) (p orb.MultiPolygon, err error)
- func UnmarshalPoint(s string) (p orb.Point, err error)
- func UnmarshalPolygon(s string) (p orb.Polygon, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalString ¶
MarshalString returns a WKT representation of the Geometry if possible.
func UnmarshalCollection ¶ added in v0.4.1
func UnmarshalCollection(s string) (p orb.Collection, err error)
UnmarshalCollection return linestring by parse wkt collection string
func UnmarshalLineString ¶ added in v0.4.1
func UnmarshalLineString(s string) (p orb.LineString, err error)
UnmarshalLineString return linestring by parse wkt linestring string
func UnmarshalMultiLineString ¶ added in v0.4.1
func UnmarshalMultiLineString(s string) (p orb.MultiLineString, err error)
UnmarshalMultiLineString return linestring by parse wkt multilinestring string
func UnmarshalMultiPoint ¶ added in v0.4.1
func UnmarshalMultiPoint(s string) (p orb.MultiPoint, err error)
UnmarshalMultiPoint return multipoint by parse wkt multipoint string
func UnmarshalMultiPolygon ¶ added in v0.4.1
func UnmarshalMultiPolygon(s string) (p orb.MultiPolygon, err error)
UnmarshalMultiPolygon return linestring by parse wkt multipolygon string
func UnmarshalPoint ¶ added in v0.4.1
UnmarshalPoint return point by parse wkt point string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.