GeoFactory class abstract

A factory to create geospatial geometries and features from source data.

The factory class and all its sub classes must be stateless.

Implementers

Constructors

GeoFactory()
Default const constructor to allow extending this abstract class.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

feature<T extends Geometry>(dynamic data) Feature<T>
Parses a feature from a data object.
featureCollection<T extends Geometry>(dynamic data, {Range? range}) FeatureCollection<Feature<T>>
Parses a feature collection from a data object.
featureCount(dynamic data, {Range? range}) int
Count number of features on a collection parsed from a data object.
featureSeries<T extends Geometry>(dynamic data, {Range? range}) BoundedSeries<Feature<T>>
Parses a series of features from a data object.
geometry<T extends Geometry>(dynamic data) → T
Parses a geometry from a data object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited