simplefeatures

module
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT

README

Simple Features

Build Status Documentation

Simple Features is a pure Go Implementation of the OpenGIS Simple Feature Access Specification (which can be found here).

The specification describes a common access and storage model for 2-dimensional geometries. This is the same access and storage model used by libraries such as GEOS, JTS, and PostGIS.

Simple Features also provides spatial analysis algorithms that operate on 2-dimensional geometries.

Changelog

The changelog can be found here.

Library Features (native Go)
  • Marshalling/unmarshalling (WKT, WKB, GeoJSON).

  • 3D and Measure coordinates.

  • Spatial analysis (geometry validation, boundary calculation, envelopes, convex hull, equality, is simple, intersects, length, closed, ring, area, centroid, point on surface).

  • Geometry manipulation (reverse, pointwise transform, force coordinates types).

GEOS Wrapper

A GEOS CGO wrapper is also provided, giving access to functionality not yet implemented natively in Go. The wrapper is implemented in a separate package, meaning that library users who don't need this additional functionality don't need to expose themselves to CGO.

Directories

Path Synopsis
Package geom implements the OpenGIS Simple Feature Access specification.
Package geom implements the OpenGIS Simple Feature Access specification.
Package geos provides a cgo wrapper around the GEOS (Geometry Engine, Open Source) library.
Package geos provides a cgo wrapper around the GEOS (Geometry Engine, Open Source) library.
internal
Package rtree implements an in-memory r-tree data structure.
Package rtree implements an in-memory r-tree data structure.

Jump to

Keyboard shortcuts

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