Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteOrderType

func ByteOrderType(r io.Reader) (byteOrder binary.ByteOrder, typ uint32, err error)

func Collection

func Collection(r io.Reader, bom binary.ByteOrder) (col geom.Collection, err error)

func LineString

func LineString(r io.Reader, bom binary.ByteOrder) (ln geom.LineString, err error)

func LinerRing

func LinerRing(r io.Reader, bom binary.ByteOrder) (rn [][2]float64, err error)

func MultiLineString

func MultiLineString(r io.Reader, bom binary.ByteOrder) (lns geom.MultiLineString, err error)

func MultiPoint

func MultiPoint(r io.Reader, bom binary.ByteOrder) (pts geom.MultiPoint, err error)

func MultiPolygon

func MultiPolygon(r io.Reader, bom binary.ByteOrder) (plys geom.MultiPolygon, err error)

func Point

func Point(r io.Reader, bom binary.ByteOrder) (pt geom.Point, err error)

func Polygon

func Polygon(r io.Reader, bom binary.ByteOrder) (ply geom.Polygon, err error)

Types

type ErrBadBOM

type ErrBadBOM byte

func (ErrBadBOM) Error

func (e ErrBadBOM) Error() string

type ErrInvalidType

type ErrInvalidType struct {
	// In which collection type was the invalide type found.
	Primary string
	Type    uint32
}

func (ErrInvalidType) Error

func (e ErrInvalidType) Error() string

Source Files