Versions in this module Expand all Collapse all v0 v0.10.0 Aug 10, 2022 v0.9.0 Jul 20, 2022 v0.8.0 Jun 17, 2022 v0.7.0 May 17, 2022 v0.6.1 Apr 20, 2022 v0.6.0 Apr 8, 2022 v0.5.0 Feb 24, 2022 v0.4.0 Jan 27, 2022 v0.3.0 Jan 11, 2022 v0.2.0 Nov 18, 2021 v0.1.0 Nov 1, 2021 Changes in this version + type Box struct + MaxX float64 + MaxY float64 + MinX float64 + MinY float64 + func BBoxFromPoints(points []Point) (box Box) + func (b *Box) Extend(box Box) + func (b *Box) ExtendWithPoint(p Point) + type Field struct + Addr [4]byte + Fieldtype byte + Name [11]byte + Padding [14]byte + Precision uint8 + Size uint8 + type MultiPatch struct + Box Box + MArray []float64 + MRange [2]float64 + NumParts int32 + NumPoints int32 + PartTypes []int32 + Parts []int32 + Points []Point + ZArray []float64 + ZRange [2]float64 + func (p MultiPatch) BBox() Box + type MultiPoint struct + Box Box + NumPoints int32 + Points []Point + func (p MultiPoint) BBox() Box + type MultiPointM struct + Box Box + MArray []float64 + MRange [2]float64 + NumPoints int32 + Points []Point + func (p MultiPointM) BBox() Box + type MultiPointZ struct + Box Box + MArray []float64 + MRange [2]float64 + NumPoints int32 + Points []Point + ZArray []float64 + ZRange [2]float64 + func (p MultiPointZ) BBox() Box + type Null struct + func (n Null) BBox() Box + type Point struct + X float64 + Y float64 + func (p Point) BBox() Box + type PointM struct + M float64 + X float64 + Y float64 + func (p PointM) BBox() Box + type PointZ struct + M float64 + X float64 + Y float64 + Z float64 + func (p PointZ) BBox() Box + type PolyLine struct + NumParts int32 + NumPoints int32 + Parts []int32 + Points []Point + func NewPolyLine(parts [][]Point) *PolyLine + func (p PolyLine) BBox() Box + type PolyLineM struct + Box Box + MArray []float64 + MRange [2]float64 + NumParts int32 + NumPoints int32 + Parts []int32 + Points []Point + func (p PolyLineM) BBox() Box + type PolyLineZ struct + Box Box + MArray []float64 + MRange [2]float64 + NumParts int32 + NumPoints int32 + Parts []int32 + Points []Point + ZArray []float64 + ZRange [2]float64 + func (p PolyLineZ) BBox() Box + type Polygon PolyLine + func (p Polygon) BBox() Box + type PolygonM PolyLineZ + func (p PolygonM) BBox() Box + type PolygonZ PolyLineZ + func (p PolygonZ) BBox() Box + type Reader struct + GeometryType ShapeType + func ReadFrom(r io.Reader) (*Reader, error) + func (r *Reader) BBox() Box + func (r *Reader) Err() error + func (r *Reader) Next() bool + func (r *Reader) Shape() (int, Shape) + type SequentialReader interface + Err func() error + Next func() bool + Shape func() (int, Shape) + func SequentialReaderFromExt(shp io.ReadCloser) SequentialReader + type Shape interface + BBox func() Box + type ShapeType int32 + const MULTIPATCH + const MULTIPOINT + const MULTIPOINTM + const MULTIPOINTZ + const NULL + const POINT + const POINTM + const POINTZ + const POLYGON + const POLYGONM + const POLYGONZ + const POLYLINE + const POLYLINEM + const POLYLINEZ + func (i ShapeType) String() string + type Writer struct + GeometryType ShapeType + func CreateFrom(ws io.WriteSeeker, t ShapeType) (*Writer, error) + func (w *Writer) Close() error + func (w *Writer) Write(shape Shape) (int32, error) + type ZipReader struct + func ReadZipFrom(r io.Reader) (*ZipReader, error) + func (zr *ZipReader) Close() error + func (zr *ZipReader) Err() error + func (zr *ZipReader) Next() bool + func (zr *ZipReader) Shape() (int, Shape)