Documentation ¶
Overview ¶
Package kml implements KML encoding.
Index ¶
- func Encode(g geom.T) (kml.Element, error)
- func EncodeGeometryCollection(g *geom.GeometryCollection) (kml.Element, error)
- func EncodeLineString(ls *geom.LineString) kml.Element
- func EncodeLinearRing(lr *geom.LinearRing) kml.Element
- func EncodeMultiLineString(mls *geom.MultiLineString) kml.Element
- func EncodeMultiPoint(mp *geom.MultiPoint) kml.Element
- func EncodeMultiPolygon(mp *geom.MultiPolygon) kml.Element
- func EncodePoint(p *geom.Point) kml.Element
- func EncodePolygon(p *geom.Polygon) kml.Element
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeGeometryCollection ¶
func EncodeGeometryCollection(g *geom.GeometryCollection) (kml.Element, error)
EncodeGeometryCollection encodes a GeometryCollection.
func EncodeLineString ¶
func EncodeLineString(ls *geom.LineString) kml.Element
EncodeLineString encodes a LineString.
func EncodeLinearRing ¶
func EncodeLinearRing(lr *geom.LinearRing) kml.Element
EncodeLinearRing encodes a LinearRing.
func EncodeMultiLineString ¶
func EncodeMultiLineString(mls *geom.MultiLineString) kml.Element
EncodeMultiLineString encodes a MultiLineString.
func EncodeMultiPoint ¶
func EncodeMultiPoint(mp *geom.MultiPoint) kml.Element
EncodeMultiPoint encodes a MultiPoint.
func EncodeMultiPolygon ¶
func EncodeMultiPolygon(mp *geom.MultiPolygon) kml.Element
EncodeMultiPolygon encodes a MultiPolygon.
func EncodePolygon ¶
func EncodePolygon(p *geom.Polygon) kml.Element
EncodePolygon encodes a Polygon.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.