encoding

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrInvalidGeoJSON

type ErrInvalidGeoJSON struct {
	GJSON []byte
}

ErrInvalidGeoJSON is a wrapper around a []byte that is invalid GeoJson

func (ErrInvalidGeoJSON) Error

func (e ErrInvalidGeoJSON) Error() string

Error fulfills the error interface

type ErrUnknownGeometry

type ErrUnknownGeometry struct {
	Geom geom.Geometry
}

ErrUnknownGeometry is returned when a geometry type that is unknown is asked to be encoded

func (ErrUnknownGeometry) Error

func (e ErrUnknownGeometry) Error() string

Error fulfills the error interface

Directories

Path Synopsis
Package geojson implements encoding and decoding of GeoJSON as defined in [RFC 7946](https://tools.ietf.org/html/rfc7946).
Package geojson implements encoding and decoding of GeoJSON as defined in [RFC 7946](https://tools.ietf.org/html/rfc7946).
mvt
Package mvt is used to encode MVT tiles
Package mvt is used to encode MVT tiles
vector_tile
Package vectorTile is a generated protocol buffer package.
Package vectorTile is a generated protocol buffer package.
wkb
Package wkb is for decoding ESRI's Well Known Binary (WKB) format for OGC geometry (WKBGeometry) sepcification at http://edndoc.esri.com/arcsde/9.1/general_topics/wkb_representation.htm There are a few types supported by the specification.
Package wkb is for decoding ESRI's Well Known Binary (WKB) format for OGC geometry (WKBGeometry) sepcification at http://edndoc.esri.com/arcsde/9.1/general_topics/wkb_representation.htm There are a few types supported by the specification.
wkt
internal/cmd/fuzz/fuzz
Package fuzz provides primitives to generate random geom geometry types.
Package fuzz provides primitives to generate random geom geometry types.

Jump to

Keyboard shortcuts

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