package
1.1.3
Repository: https://github.com/spatial-go/geoos.git
Documentation: pkg.go.dev

# Functions

NewBBox creates a bbox from a a bound.
NewFeature creates and initializes a GeoJSON feature given the required attributes.
NewFeatureCollection creates and initializes a new feature collection.
NewGeometry will create a Geometry object but will convert the input into a GoeJSON geometry.
UnmarshalFeature decodes the data into a GeoJSON feature.
UnmarshalFeatureCollection decodes the data into a GeoJSON feature collection.
UnmarshalGeometry decodes the data into a GeoJSON feature.

# Variables

ErrInvalidGeometry will be returned if a the json of the geometry is invalid.

# Structs

A Feature corresponds to GeoJSON feature object.
A FeatureCollection correlates to a GeoJSON feature collection.
A Geometry matches the structure of a GeoJSON Geometry.

# Type aliases

BBox is for the geojson bbox attribute which is an array with all axes of the most southwesterly point followed by all axes of the more northeasterly point.
A LineString is a helper type that will marshal to/from a GeoJSON LineString geometry.
A MultiLineString is a helper type that will marshal to/from a GeoJSON MultiLineString geometry.
A MultiPoint is a helper type that will marshal to/from a GeoJSON MultiPoint geometry.
A MultiPolygon is a helper type that will marshal to/from a GeoJSON MultiPolygon geometry.
A Point is a helper type that will marshal to/from a GeoJSON Point geometry.
A Polygon is a helper type that will marshal to/from a GeoJSON Polygon geometry.
Properties defines the feature properties with some helper methods.