OpenLayers Turf
OpenLayers Turf (olturf) is a Turf toolbar for OpenLayers. The toolbar provides the following features:
- Customizable commands to display
- Forms to collect command inputs
- Popups to display numerical outputs
- Input features are selected in the map
- Output features are displayed in the map
Instead of displaying all the Turf commands available, individual commands can
be selected or a subset of pre-defined groups can be displayed. The following
groups are available aggregation
, classification
, data
, grids
,
interpolation
, measurement
, misc
, joins
, transformation
.
GETTING STARTED
A toolbar can be added to an OpenLayers map by adding its dependencies
then creating an instance and adding it to the map
const toolbar = ;const map = ...;map;
DOCUMENTATION
The following help is available at the olturf website:
BUILD
To build and test the library locally:
npm installnpm test
The bundled library and stylesheet are at dist/olturf.min.js
and
dist/olturf.min.css
.
LICENSE
Copyright (c) 2016 Daniel Pulido mailto:dpmcmlxxvi@gmail.com
Source code is released under the MIT License. Documentation is released under the CC BY 4.0. Icons are from OSGeo and released under the CC BY 3.0.