WktFactory<PointType extends Point<num>> class

A geospatial object factory capable of parsing WKT geometries from text.

Supported WKT geometry types: 'POINT', 'LINESTRING', 'POLYGON', 'MULTIPOINT', 'MULTILINESTRING', 'MULTIPOLYGON', 'GEOMETRYCOLLECTION'.

See Well-known text representation of geometry.

Constructors

WktFactory({required PointFactory<PointType> pointFactory({required bool expectM})})
Create a factory with pointFactory.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
pointFactory PointFactory<PointType> Function({required bool expectM})
A function to return a factory creating points from coordinate values.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse<T extends PointType>(Object data) Geometry
Parses a single geometry from a data object.
parseAll<T extends PointType>(Object data, {Range? range}) BoundedSeries<Geometry>
Parses all geometries from a data object.
toString() String
A string representation of this object.
inherited

Operators

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