vector library
Text and binary formats for vector data (features, geometries, coordinates).
Key features:
- positions, position arrays and bounding boxes based on coordinate arrays
- text format writers and parsers for features, geometries, coordinates,
properties:
- supported formats: GeoJSON
- text format writers and parsers for geometries and coordinates:
- supported formats: WKT
- binary format encoders and decoders for geometries:
- supported formats: WKB
This libary exports a subset of package:geobase/geobase.dart
.
Usage: import package:geobase/vector.dart
Classes
- ContentDecoder
- An interface to decode content from a text or binary format.
-
ContentEncoder<
Content extends Object> -
An interface to encode
Content
into a text or binary format. - DefaultFormat
- The "default" text format for coordinate and geometry objects.
- GeoJSON
- The GeoJSON text format for coordinate, geometry and feature objects.
- GeoJsonConf
- Optional configuration parameters for formatting (and parsing) GeoJSON.
- GeoJSONL
- The newline-delimited GeoJSON (or "GeoJSON Text Sequences") text format for feature objects.
- SimpleGeometryContent
- An interface to write simple geometry data to format encoders and object builders.
-
TextReaderFormat<
Content extends Object> -
An interface to access text format decoders (readers) for
Content
. -
TextWriterFormat<
Content extends Object> -
An interface to access text format encoders (writers) for
Content
. - WKB
- The Well-known binary (WKB) format, see geometry for the standard WKB and geometryExtended for the Extended WKB (EWKB).
- WKT
- The WKT text format for coordinate and geometry objects.
- WktLikeFormat
- The WKT (like) text format for coordinate and geometry objects.
Enums
Mixins
-
BinaryFormat<
Content extends Object> -
A mixin to access binary format encoders and decoders for
Content
- CoordinateContent
- An interface to write coordinate data to format encoders and object builders.
- FeatureContent
- An interface to write geospatial feature objects to format encoders and object builders.
- GeometryContent
- An interface to write geometry data to format encoders and object builders.
-
TextFormat<
Content extends Object> -
A mixin to access text format encoders and decoders for
Content
.
Typedefs
- WriteFeatures = void Function(FeatureContent output)
-
A function to write geospatial feature objects to
output
. - WriteGeometries = void Function(GeometryContent output)
-
A function to write geometry data to
output
. - WriteSimpleGeometries = void Function(SimpleGeometryContent output)
-
A function to write simple geometry data to
output
.