Versions in this module Expand all Collapse all v1 v1.0.0 Dec 25, 2023 Changes in this version + const GeometryCollectionID + const LineStringID + const MultiLineStringID + const MultiPointID + const MultiPolygonID + const NDRID + const PointID + const PolygonID + const PolyhedralSurfaceID + const TINID + const TriangleID + const XDRID + var MaxGeometryElements = [4]uint32 + var NDR = binary.LittleEndian + var XDR = binary.BigEndian + func ReadByte(r io.Reader) (byte, error) + func ReadFlatCoords0(r io.Reader, byteOrder binary.ByteOrder, stride int) ([]float64, error) + func ReadFlatCoords1(r io.Reader, byteOrder binary.ByteOrder, stride int) ([]float64, error) + func ReadFlatCoords2(r io.Reader, byteOrder binary.ByteOrder, stride int) ([]float64, []int, error) + func ReadFloatArray(r io.Reader, byteOrder binary.ByteOrder, array []float64) error + func ReadUInt32(r io.Reader, byteOrder binary.ByteOrder) (uint32, error) + func WriteByte(w io.Writer, value byte) error + func WriteFlatCoords0(w io.Writer, byteOrder binary.ByteOrder, coord []float64) error + func WriteFlatCoords1(w io.Writer, byteOrder binary.ByteOrder, coords []float64, stride int) error + func WriteFlatCoords2(w io.Writer, byteOrder binary.ByteOrder, flatCoords []float64, ends []int, ...) error + func WriteFloatArray(w io.Writer, byteOrder binary.ByteOrder, array []float64) error + func WriteUInt32(w io.Writer, byteOrder binary.ByteOrder, value uint32) error + type ErrGeometryTooLarge struct + Level int + Limit uint32 + N uint32 + func (e ErrGeometryTooLarge) Error() string + type ErrUnexpectedType struct + Got interface{} + Want interface{} + func (e ErrUnexpectedType) Error() string + type ErrUnknownByteOrder byte + func (e ErrUnknownByteOrder) Error() string + type ErrUnknownType Type + func (e ErrUnknownType) Error() string + type ErrUnsupportedByteOrder struct + func (e ErrUnsupportedByteOrder) Error() string + type ErrUnsupportedType Type + func (e ErrUnsupportedType) Error() string + type Type uint32