turf-remove
turf remove module
turf.remove(features, property, value)
Takes a FeatureCollection, a property, and a value and returns a FeatureCollection with features matching that property-value pair removed.
Parameters
parameter | type | description |
---|---|---|
features |
FeatureCollection | a FeatureCollection of any type |
property |
String | the property to filter |
value |
String | the value to filter |
Example
var points = turf; //=points var filtered = turf; //=filtered
Installation
Requires nodejs.
$ npm install turf-remove
Tests
$ npm test