simple_features 0.0.5 simple_features: ^0.0.5 copied to clipboard
An implementation of the Simple Features Specification for Dart
simple_features
is a Dart implementation of
OGCs
Simple Feature Specification (SFS).
The SFS defines a hierarchy of geometry types which are used in geographical information systems. Most database systems with spatial functionality as well as software frameworks for processing GIS data provide an implementation of the SFS.
API documentation #
Depend on it #
simple_features
is available from http://pub.dartlang.org.
Add
dependencies:
simple_features: 0.0.5
to your pubspec.yaml
.
See version history.
Status #
This is work in progress.
As of the current version 0.0.5:
- The geometry type hierarchy is implemented in a matching class hierarchy. For
compatibily with GeoJSON it is extended with a
Feature
and aFeatureCollection
class. - Geometries can be read from an serialized into Well-Known Text Representation (WKT). Support for GeoJSON is provided too.
- Basic properties of a Geometry like
dimension
,geometryType
,isMeasured
, oris3D
are implemented. - There is an implementation of the Bentley-Ottman-Algorithm for line intersection
tests.
LineString
s andLinearRing
s can efficiently be tested for simplicity. isSimple
orboundary
are so far implemented on a subset of the geometry types only.- The Dimensionally Extended nine-Intesection Model (DE-9IM) isn't implemented yet. It isn't possible yet to relate one geometry to another, for instance in order to test, whether one geometry intersects or overlaps with the other.
License #
simple_features
is licensed under the Apache 2.0 license, see files LICENSE and NOTICE.