geom

package module
v0.0.0-...-76a21ef Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2015 License: MIT Imports: 1 Imported by: 12

README

geom

Package geom is a geometry library in Go.

It provides definition of basic geometry structures (Point, LineString, Polygon), including Z, M and ZM variants. MultiGeometry and geometries collections are also provided.

Sub-packages allow encoding to GeoJSON and decoding from Well Known Binary.

Install

go get github.com/xeonx/geom

Docs

GoDoc

Tests

go test is used for testing.

Roadmap

License

This code is licensed under the MIT license. See LICENSE.

Documentation

Overview

Package geom is a geometry library in Go.

It provides definition of basic geometry structures (Point, LineString, Polygon), including Z, M and ZM variants. MultiGeometry and Geometry collections are also provided.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Envelope

type Envelope struct {
	Min, Max Point
}

Envelope represents a two-dimensional rectangular region

func NewEnvelope

func NewEnvelope() *Envelope

NewEnvelope returns a new empty envelope

func NewEnvelopeFromPoint

func NewEnvelopeFromPoint(pt Point) *Envelope

NewEnvelopeFromPoint returns a new envelope containing a single point

func (*Envelope) Extend

func (e *Envelope) Extend(other *Envelope) *Envelope

Extend extends the envelope with the givent envelope and returns the modified envelope

func (*Envelope) ExtendPoint

func (e *Envelope) ExtendPoint(pt Point) *Envelope

ExtendPoint extends the envelope with the givent point and returns the modified envelope

type EnvelopeM

type EnvelopeM struct {
	Min, Max PointM
}

EnvelopeM represents a two-dimensional rectangular region, with M values

func NewEnvelopeM

func NewEnvelopeM() *EnvelopeM

NewEnvelopeM returns a new empty envelope

func NewEnvelopeMFromPoint

func NewEnvelopeMFromPoint(pt PointM) *EnvelopeM

NewEnvelopeMFromPoint returns a new envelope containing a single point

func (*EnvelopeM) Extend

func (e *EnvelopeM) Extend(other *EnvelopeM) *EnvelopeM

Extend extends the envelope with the givent envelope and returns the modified envelope

func (*EnvelopeM) ExtendPoint

func (e *EnvelopeM) ExtendPoint(pt PointM) *EnvelopeM

ExtendPoint extends the envelope with the givent point and returns the modified envelope

type EnvelopeZ

type EnvelopeZ struct {
	Min, Max PointZ
}

EnvelopeZ represents a three-dimensional rectangular region

func NewEnvelopeZ

func NewEnvelopeZ() *EnvelopeZ

NewEnvelopeZ returns a new empty envelope

func NewEnvelopeZFromPoint

func NewEnvelopeZFromPoint(pt PointZ) *EnvelopeZ

NewEnvelopeZFromPoint returns a new envelope containing a single point

func (*EnvelopeZ) Extend

func (e *EnvelopeZ) Extend(other *EnvelopeZ) *EnvelopeZ

Extend extends the envelope with the givent envelope and returns the modified envelope

func (*EnvelopeZ) ExtendPoint

func (e *EnvelopeZ) ExtendPoint(pt PointZ) *EnvelopeZ

ExtendPoint extends the envelope with the givent point and returns the modified envelope

type EnvelopeZM

type EnvelopeZM struct {
	Min, Max PointZM
}

EnvelopeZM represents a three-dimensional rectangular region, with M values

func NewEnvelopeZM

func NewEnvelopeZM() *EnvelopeZM

NewEnvelopeZM returns a new empty envelope

func NewEnvelopeZMFromPoint

func NewEnvelopeZMFromPoint(pt PointZM) *EnvelopeZM

NewEnvelopeZMFromPoint returns a new envelope containing a single point

func (*EnvelopeZM) Extend

func (e *EnvelopeZM) Extend(other *EnvelopeZM) *EnvelopeZM

Extend extends the envelope with the givent envelope and returns the modified envelope

func (*EnvelopeZM) ExtendPoint

func (e *EnvelopeZM) ExtendPoint(pt PointZM) *EnvelopeZM

ExtendPoint extends the envelope with the givent point and returns the modified envelope

type Geometry

type Geometry interface {
	Envelope() *Envelope

	Clone() Geometry

	Iterate(f func([]Point) error) error //The iterate function can modify Point in place
}

Geometry represents a geometry object

type GeometryCollection

type GeometryCollection []Geometry

GeometryCollection is a collection of two-dimensional geometries

func (GeometryCollection) Clone

func (c GeometryCollection) Clone() Geometry

Clone returns a deep copy of the geometry collection

func (GeometryCollection) Envelope

func (c GeometryCollection) Envelope() *Envelope

Envelope returns an envelope around the GeometryCollection

func (GeometryCollection) Iterate

func (c GeometryCollection) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the geometry collection

type GeometryCollectionM

type GeometryCollectionM []GeometryM

GeometryCollectionM is a collection of two-dimensional geometries, with an additional value defined on each vertex

func (GeometryCollectionM) Clone

func (c GeometryCollectionM) Clone() Geometry

Clone returns a deep copy of the geometry collection

func (GeometryCollectionM) Envelope

func (c GeometryCollectionM) Envelope() *Envelope

Envelope returns an envelope around the geometry collection

func (GeometryCollectionM) EnvelopeM

func (c GeometryCollectionM) EnvelopeM() *EnvelopeM

EnvelopeM returns an envelope around the geometry collection

func (GeometryCollectionM) Iterate

func (c GeometryCollectionM) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the geometry collection

type GeometryCollectionZ

type GeometryCollectionZ []GeometryZ

GeometryCollectionZ is a collection of three-dimensional geometries

func (GeometryCollectionZ) Clone

func (c GeometryCollectionZ) Clone() Geometry

Clone returns a deep copy of the geometry collection

func (GeometryCollectionZ) Envelope

func (c GeometryCollectionZ) Envelope() *Envelope

Envelope returns an envelope around the geometry collection

func (GeometryCollectionZ) EnvelopeZ

func (c GeometryCollectionZ) EnvelopeZ() *EnvelopeZ

EnvelopeZ returns an envelope around the geometry collection

func (GeometryCollectionZ) Iterate

func (c GeometryCollectionZ) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the geometry collection

type GeometryCollectionZM

type GeometryCollectionZM []GeometryZM

GeometryCollectionZM is a collection of three-dimensional geometries, with an additional value defined on each vertex

func (GeometryCollectionZM) Clone

func (c GeometryCollectionZM) Clone() Geometry

Clone returns a deep copy of the geometry collection

func (GeometryCollectionZM) Envelope

func (c GeometryCollectionZM) Envelope() *Envelope

Envelope returns an envelope around the geometry collection

func (GeometryCollectionZM) EnvelopeM

func (c GeometryCollectionZM) EnvelopeM() *EnvelopeM

EnvelopeM returns an envelope around the geometry collection

func (GeometryCollectionZM) EnvelopeZ

func (c GeometryCollectionZM) EnvelopeZ() *EnvelopeZ

EnvelopeZ returns an envelope around the geometry collection

func (GeometryCollectionZM) EnvelopeZM

func (c GeometryCollectionZM) EnvelopeZM() *EnvelopeZM

EnvelopeZM returns an envelope around the GeometryCollection

func (GeometryCollectionZM) Iterate

func (c GeometryCollectionZM) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the geometry collection

type GeometryM

type GeometryM interface {
	Geometry

	EnvelopeM() *EnvelopeM
}

GeometryM represents a geometry object, with an additional value defined on each vertex

type GeometryZ

type GeometryZ interface {
	Geometry

	EnvelopeZ() *EnvelopeZ
}

GeometryZ represents a three-dimensional geometry object

type GeometryZM

type GeometryZM interface {
	GeometryZ

	//Duplication of methods of GeometryM because we can not embed it directly (kind of diamond inheritance problem)
	EnvelopeM() *EnvelopeM

	EnvelopeZM() *EnvelopeZM
}

GeometryZM represents a three-dimensional geometry object, with an additional value defined on each vertex

type LineString

type LineString []Point

LineString is a two-dimensional geometry representing a multi-vertex line

func (LineString) Clone

func (l LineString) Clone() Geometry

Clone returns a deep copy of the line

func (LineString) Envelope

func (l LineString) Envelope() *Envelope

Envelope returns an envelope around the line

func (LineString) Iterate

func (l LineString) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the line

type LineStringM

type LineStringM []PointM

LineStringM is a two-dimensional geometry representing a multi-vertex line, with an additional value defined on each vertex

func (LineStringM) Clone

func (l LineStringM) Clone() Geometry

Clone returns a deep copy of the line

func (LineStringM) Envelope

func (l LineStringM) Envelope() *Envelope

Envelope returns an envelope around the line

func (LineStringM) EnvelopeM

func (l LineStringM) EnvelopeM() *EnvelopeM

EnvelopeM returns an envelope around the line

func (LineStringM) Iterate

func (l LineStringM) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the line

type LineStringZ

type LineStringZ []PointZ

LineStringZ is a three-dimensional geometry representing a multi-vertex line

func (LineStringZ) Clone

func (l LineStringZ) Clone() Geometry

Clone returns a deep copy of the line

func (LineStringZ) Envelope

func (l LineStringZ) Envelope() *Envelope

Envelope returns an envelope around the line

func (LineStringZ) EnvelopeZ

func (l LineStringZ) EnvelopeZ() *EnvelopeZ

EnvelopeZ returns an envelope around the line

func (LineStringZ) Iterate

func (l LineStringZ) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the line

type LineStringZM

type LineStringZM []PointZM

LineStringZM is a three-dimensional geometry representing a multi-vertex line, with an additional value defined on each vertex

func (LineStringZM) Clone

func (l LineStringZM) Clone() Geometry

Clone returns a deep copy of the line

func (LineStringZM) Envelope

func (l LineStringZM) Envelope() *Envelope

Envelope returns an envelope around the line

func (LineStringZM) EnvelopeM

func (l LineStringZM) EnvelopeM() *EnvelopeM

EnvelopeM returns an envelope around the line

func (LineStringZM) EnvelopeZ

func (l LineStringZM) EnvelopeZ() *EnvelopeZ

EnvelopeZ returns an envelope around the line

func (LineStringZM) EnvelopeZM

func (l LineStringZM) EnvelopeZM() *EnvelopeZM

EnvelopeZM returns an envelope around the line

func (LineStringZM) Iterate

func (l LineStringZM) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the line

type MultiLineString

type MultiLineString []LineString

MultiLineString is a collection of two-dimensional geometries representing multi-vertex lines

func (MultiLineString) Clone

func (c MultiLineString) Clone() Geometry

Clone returns a deep copy of the multi-linestring

func (MultiLineString) Envelope

func (c MultiLineString) Envelope() *Envelope

Envelope returns an envelope around the GeometryCollection

func (MultiLineString) Iterate

func (c MultiLineString) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the multi-linestring

type MultiLineStringM

type MultiLineStringM []LineStringM

MultiLineStringM is a collection of two-dimensional geometries representing multi-vertex lines, with an additional value defined on each vertex

func (MultiLineStringM) Clone

func (c MultiLineStringM) Clone() Geometry

Clone returns a deep copy of the multi-linestring

func (MultiLineStringM) Envelope

func (c MultiLineStringM) Envelope() *Envelope

Envelope returns an envelope around the GeometryCollection

func (MultiLineStringM) EnvelopeM

func (c MultiLineStringM) EnvelopeM() *EnvelopeM

EnvelopeM returns an envelope around the GeometryCollection

func (MultiLineStringM) Iterate

func (c MultiLineStringM) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the multi-linestring

type MultiLineStringZ

type MultiLineStringZ []LineStringZ

MultiLineStringZ is a collection of three-dimensional geometries representing multi-vertex lines

func (MultiLineStringZ) Clone

func (c MultiLineStringZ) Clone() Geometry

Clone returns a deep copy of the multi-linestring

func (MultiLineStringZ) Envelope

func (c MultiLineStringZ) Envelope() *Envelope

Envelope returns an envelope around the GeometryCollection

func (MultiLineStringZ) EnvelopeZ

func (c MultiLineStringZ) EnvelopeZ() *EnvelopeZ

EnvelopeZ returns an envelope around the GeometryCollection

func (MultiLineStringZ) Iterate

func (c MultiLineStringZ) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the multi-linestring

type MultiLineStringZM

type MultiLineStringZM []LineStringZM

MultiLineStringZM is a collection of three-dimensional geometries representing multi-vertex lines, with an additional value defined on each vertex

func (MultiLineStringZM) Clone

func (c MultiLineStringZM) Clone() Geometry

Clone returns a deep copy of the multi-linestring

func (MultiLineStringZM) Envelope

func (c MultiLineStringZM) Envelope() *Envelope

Envelope returns an envelope around the GeometryCollection

func (MultiLineStringZM) EnvelopeM

func (c MultiLineStringZM) EnvelopeM() *EnvelopeM

EnvelopeM returns an envelope around the GeometryCollection

func (MultiLineStringZM) EnvelopeZ

func (c MultiLineStringZM) EnvelopeZ() *EnvelopeZ

EnvelopeZ returns an envelope around the GeometryCollection

func (MultiLineStringZM) EnvelopeZM

func (c MultiLineStringZM) EnvelopeZM() *EnvelopeZM

EnvelopeZM returns an envelope around the GeometryCollection

func (MultiLineStringZM) Iterate

func (c MultiLineStringZM) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the multi-linestring

type MultiPoint

type MultiPoint []Point

MultiPoint is a collection of two-dimensional geometries representing points

func (MultiPoint) Clone

func (c MultiPoint) Clone() Geometry

Clone returns a deep copy of the multi-point

func (MultiPoint) Envelope

func (c MultiPoint) Envelope() *Envelope

Envelope returns an envelope around the multi-point

func (MultiPoint) Iterate

func (c MultiPoint) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the multi-point

type MultiPointM

type MultiPointM []PointM

MultiPointM is a collection of two-dimensional geometries representing points, with an additional value defined on each point

func (MultiPointM) Clone

func (c MultiPointM) Clone() Geometry

Clone returns a deep copy of the multi-point

func (MultiPointM) Envelope

func (c MultiPointM) Envelope() *Envelope

Envelope returns an envelope around the multi-point

func (MultiPointM) EnvelopeM

func (c MultiPointM) EnvelopeM() *EnvelopeM

EnvelopeM returns an envelope around the multi-point

func (MultiPointM) Iterate

func (c MultiPointM) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the multi-point

type MultiPointZ

type MultiPointZ []PointZ

MultiPointZ is a collection of three-dimensional geometries representing points

func (MultiPointZ) Clone

func (c MultiPointZ) Clone() Geometry

Clone returns a deep copy of the multi-point

func (MultiPointZ) Envelope

func (c MultiPointZ) Envelope() *Envelope

Envelope returns an envelope around the multi-point

func (MultiPointZ) EnvelopeZ

func (c MultiPointZ) EnvelopeZ() *EnvelopeZ

EnvelopeZ returns an envelope around the multi-point

func (MultiPointZ) Iterate

func (c MultiPointZ) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the multi-point

type MultiPointZM

type MultiPointZM []PointZM

MultiPointZM is a collection of three-dimensional geometries representing points, with an additional value defined on each point

func (MultiPointZM) Clone

func (c MultiPointZM) Clone() Geometry

Clone returns a deep copy of the multi-point

func (MultiPointZM) Envelope

func (c MultiPointZM) Envelope() *Envelope

Envelope returns an envelope around the multi-point

func (MultiPointZM) EnvelopeM

func (c MultiPointZM) EnvelopeM() *EnvelopeM

EnvelopeM returns an envelope around the multi-point

func (MultiPointZM) EnvelopeZ

func (c MultiPointZM) EnvelopeZ() *EnvelopeZ

EnvelopeZ returns an envelope around the multi-point

func (MultiPointZM) EnvelopeZM

func (c MultiPointZM) EnvelopeZM() *EnvelopeZM

EnvelopeZM returns an envelope around the multi-point

func (MultiPointZM) Iterate

func (c MultiPointZM) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the multi-point

type MultiPolygon

type MultiPolygon []Polygon

MultiPolygon is a collection of two-dimensional geometries representing polygons

func (MultiPolygon) Clone

func (c MultiPolygon) Clone() Geometry

Clone returns a deep copy of the multi-polygon

func (MultiPolygon) Envelope

func (c MultiPolygon) Envelope() *Envelope

Envelope returns an envelope around the GeometryCollection

func (MultiPolygon) Iterate

func (c MultiPolygon) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the multi-polygon

type MultiPolygonM

type MultiPolygonM []PolygonM

MultiPolygonM is a collection of two-dimensional geometries representing polygons, with an additional value defined on each vertex

func (MultiPolygonM) Clone

func (c MultiPolygonM) Clone() Geometry

Clone returns a deep copy of the multi-polygon

func (MultiPolygonM) Envelope

func (c MultiPolygonM) Envelope() *Envelope

Envelope returns an envelope around the GeometryCollection

func (MultiPolygonM) EnvelopeM

func (c MultiPolygonM) EnvelopeM() *EnvelopeM

EnvelopeM returns an envelope around the GeometryCollection

func (MultiPolygonM) Iterate

func (c MultiPolygonM) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the multi-polygon

type MultiPolygonZ

type MultiPolygonZ []PolygonZ

MultiPolygonZ is a collection of three-dimensional geometries representing polygons

func (MultiPolygonZ) Clone

func (c MultiPolygonZ) Clone() Geometry

Clone returns a deep copy of the multi-polygon

func (MultiPolygonZ) Envelope

func (c MultiPolygonZ) Envelope() *Envelope

Envelope returns an envelope around the GeometryCollection

func (MultiPolygonZ) EnvelopeZ

func (c MultiPolygonZ) EnvelopeZ() *EnvelopeZ

EnvelopeZ returns an envelope around the GeometryCollection

func (MultiPolygonZ) Iterate

func (c MultiPolygonZ) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the multi-polygon

type MultiPolygonZM

type MultiPolygonZM []PolygonZM

MultiPolygonZM is a collection of three-dimensional geometries representing polygons, with an additional value defined on each vertex

func (MultiPolygonZM) Clone

func (c MultiPolygonZM) Clone() Geometry

Clone returns a deep copy of the multi-polygon

func (MultiPolygonZM) Envelope

func (c MultiPolygonZM) Envelope() *Envelope

Envelope returns an envelope around the GeometryCollection

func (MultiPolygonZM) EnvelopeM

func (c MultiPolygonZM) EnvelopeM() *EnvelopeM

EnvelopeM returns an envelope around the GeometryCollection

func (MultiPolygonZM) EnvelopeZ

func (c MultiPolygonZM) EnvelopeZ() *EnvelopeZ

EnvelopeZ returns an envelope around the GeometryCollection

func (MultiPolygonZM) EnvelopeZM

func (c MultiPolygonZM) EnvelopeZM() *EnvelopeZM

EnvelopeZM returns an envelope around the GeometryCollection

func (MultiPolygonZM) Iterate

func (c MultiPolygonZM) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the multi-polygon

type Point

type Point struct {
	X float64
	Y float64
}

Point is a two-dimensional geometry representing a point

func (Point) Clone

func (pt Point) Clone() Geometry

Clone returns a deep copy of the point

func (Point) Envelope

func (pt Point) Envelope() *Envelope

Envelope returns an envelope around the point

func (*Point) Iterate

func (pt *Point) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the point

type PointM

type PointM struct {
	Point
	M float64
}

PointM is a two-dimensional geometry representing a point, with an additionnal value

func (PointM) EnvelopeM

func (pt PointM) EnvelopeM() *EnvelopeM

EnvelopeM returns an envelope around the point

type PointZ

type PointZ struct {
	Point
	Z float64
}

PointZ is a three-dimensional geometry representing a point

func (PointZ) EnvelopeZ

func (pt PointZ) EnvelopeZ() *EnvelopeZ

EnvelopeZ returns an envelope around the point

type PointZM

type PointZM struct {
	PointZ
	M float64
}

PointZM is a three-dimensional geometry representing a point, with an additionnal value

func (PointZM) EnvelopeM

func (pt PointZM) EnvelopeM() *EnvelopeM

EnvelopeM returns an envelope around the point

func (PointZM) EnvelopeZM

func (pt PointZM) EnvelopeZM() *EnvelopeZM

EnvelopeZM returns an envelope around the point

type Polygon

type Polygon []LineString

Polygon is a two-dimensional geometry representing a polygon

func (Polygon) Clone

func (p Polygon) Clone() Geometry

Clone returns a deep copy of the polygon

func (Polygon) Envelope

func (p Polygon) Envelope() *Envelope

Envelope returns an envelope around the polygon

func (Polygon) Iterate

func (p Polygon) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the polygon

type PolygonM

type PolygonM []LineStringM

PolygonM is a two-dimensional geometry representing a polygon, with an additional value defined on each vertex

func (PolygonM) Clone

func (p PolygonM) Clone() Geometry

Clone returns a deep copy of the polygon

func (PolygonM) Envelope

func (p PolygonM) Envelope() *Envelope

Envelope returns an envelope around the polygon

func (PolygonM) EnvelopeM

func (p PolygonM) EnvelopeM() *EnvelopeM

EnvelopeM returns an envelope around the polygon

func (PolygonM) Iterate

func (p PolygonM) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the polygon

type PolygonZ

type PolygonZ []LineStringZ

PolygonZ is a three-dimensional geometry representing a polygon

func (PolygonZ) Clone

func (p PolygonZ) Clone() Geometry

Clone returns a deep copy of the polygon

func (PolygonZ) Envelope

func (p PolygonZ) Envelope() *Envelope

Envelope returns an envelope around the polygon

func (PolygonZ) EnvelopeZ

func (p PolygonZ) EnvelopeZ() *EnvelopeZ

EnvelopeZ returns an envelope around the polygon

func (PolygonZ) Iterate

func (p PolygonZ) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the polygon

type PolygonZM

type PolygonZM []LineStringZM

PolygonZM is a three-dimensional geometry representing a polygon, with an additional value defined on each vertex

func (PolygonZM) Clone

func (p PolygonZM) Clone() Geometry

Clone returns a deep copy of the polygon

func (PolygonZM) Envelope

func (p PolygonZM) Envelope() *Envelope

Envelope returns an envelope around the polygon

func (PolygonZM) EnvelopeM

func (p PolygonZM) EnvelopeM() *EnvelopeM

EnvelopeM returns an envelope around the polygon

func (PolygonZM) EnvelopeZ

func (p PolygonZM) EnvelopeZ() *EnvelopeZ

EnvelopeZ returns an envelope around the polygon

func (PolygonZM) EnvelopeZM

func (p PolygonZM) EnvelopeZM() *EnvelopeZM

EnvelopeZM returns an envelope around the polygon

func (PolygonZM) Iterate

func (p PolygonZM) Iterate(f func([]Point) error) error

Iterate walks over the points (and can modify in situ) the polygon

Directories

Path Synopsis
encoding
geojson
Package geojson implements decoding of GeoJSON objects as defined at http://geojson.org/.
Package geojson implements decoding of GeoJSON objects as defined at http://geojson.org/.
wkb
Package wkb implements decoding of WKB objects as defined in OGC 06-103r4.
Package wkb implements decoding of WKB objects as defined in OGC 06-103r4.

Jump to

Keyboard shortcuts

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