Documentation ¶
Index ¶
- func AsLines(g geom.Geometry) []geom.Line
- func AsPoints(g geom.Geometry) [][2]float64
- func MPPointer(mp geom.MultiPolygon) *geom.MultiPolygon
- func Parse(content []byte) geom.Geometry
- func ParseLines(content []byte) []geom.Line
- func ParseMultiPolygon(content []byte) geom.MultiPolygon
- func ParsePoints(content []byte) [][2]float64
- func Read(filename string) geom.Geometry
- func ReadLines(filename string) []geom.Line
- func ReadMultiPolygon(filename string) geom.MultiPolygon
- func ReadPoints(filename string) [][2]float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MPPointer ¶
func MPPointer(mp geom.MultiPolygon) *geom.MultiPolygon
func ParseLines ¶
ParseLines decodes the lines in the wkt format. It will use the AsLines to convert the geometry into lines
func ParseMultiPolygon ¶
func ParseMultiPolygon(content []byte) geom.MultiPolygon
func ReadLines ¶
ReadLines reads the lines out of the file the lines are expected to be in wkt format. It will use the AsLines to convert the geometry into lines
func ReadMultiPolygon ¶
func ReadMultiPolygon(filename string) geom.MultiPolygon
func ReadPoints ¶
ReadPoints reads the points out of a file. the points are expected to
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.