simple_features 0.0.5 copy "simple_features: ^0.0.5" to clipboard
simple_features: ^0.0.5 copied to clipboard

Dart 1 only

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 #

See output from dartdoc

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 #

Build 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 a FeatureCollection 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, or is3D are implemented.
  • There is an implementation of the Bentley-Ottman-Algorithm for line intersection tests. LineStrings and LinearRings can efficiently be tested for simplicity.
  • isSimple or boundary 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.

0
likes
10
pub points
0%
popularity

Publisher

unverified uploader

An implementation of the Simple Features Specification for Dart

Repository (GitHub)
View/report issues

Documentation

Documentation

License

Apache-2.0 (LICENSE)

Dependencies

avl_tree, log4dart, meta

More

Packages that depend on simple_features