kml

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package kml implements KML encoding.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(g geom.T) (kml.Element, error)

Encode encodes an arbitrary geometry.

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 EncodePoint

func EncodePoint(p *geom.Point) kml.Element

EncodePoint encodes a Point.

func EncodePolygon

func EncodePolygon(p *geom.Polygon) kml.Element

EncodePolygon encodes a Polygon.

Types

This section is empty.

Jump to

Keyboard shortcuts

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