package
1.6.0
Repository: https://github.com/twpayne/go-geom.git
Documentation: pkg.go.dev

# Functions

Encode encodes g as a GeoJSON geometry.
EncodeGeometryWithBBox adds a bbox field to the Geometry GeoJSON encoding.
EncodeGeometryWithCRS adds the crs field to the Geometry GeoJSON encoding.
EncodeGeometryWithMaxDecimalDigits encodes the Geometry with maximum decimal digits in the JSON representation.
Marshal marshals an arbitrary geometry to a []byte.
Unmarshal unmarshalls a []byte to an arbitrary geometry.

# Variables

DefaultLayout is the default layout for empty geometries.

# Structs

CRS is a deprecated field but still populated in some programs (e.g.
EncodeGeometryOption applies extra metadata to the Geometry GeoJSON encoding.
A Feature is a GeoJSON Feature.
A FeatureCollection is a GeoJSON FeatureCollection.
A Geometry is a geometry in GeoJSON format.

# Type aliases

ErrDimensionalityTooLow is returned when the dimensionality is too low.
ErrUnsupportedType is returned when the type is unsupported.