features library Null safety

Doing geospatial calculations requires feature types. This library provides a set of feature types for use in geospatial calculations.

The Feature class is the base class for all feature types.

Classes

Coordinate
The base coordinate class, used by all feature types.
Feature
The base class for all feature types.
FeatureCollection
A FeatureCollection is a collection of Features.
LinearRing
A LinearRing is a closed series of Coordinates. It is used in Polygons and MultiPolygons. Closed means the first and last Coordinates are the same.
LineString
A LineString is a Feature made up of connected Coordinates to form a line.
MultiLineString
A MultiLineString is a Feature made up of a List of LineString Coordinates.
MultiPoint
a MultiPoint is a collection of Coordinates that share properties.
MultiPolygon
A MultiPolygon is a collection of Polygon Geometries with shared properties.
Point
A Point is a single position in a coordinate system, with properties.
Polygon
A Polygon is a single closed path with shared properties. The first LinearRing defines the outer boundary of the Polygon, while the following LinearRings define holes within the Polygon.