turf-remove
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "turf-remove", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "turf remove module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
turf-remove | ||
=========== | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-remove.svg)](https://travis-ci.org/Turfjs/turf-remove) | ||
Removes any features from a feature collection that match a property value. | ||
```js | ||
var remove = require('turf-remove') | ||
var point = require('turf-point') | ||
var featurecollection = require('turf-featurecollection') | ||
var trees = t.featurecollection([t.point(1,2, {species: 'oak'}), | ||
t.point(2,1, {species: 'dogwood'}), | ||
t.point(3,1, {species: 'maple'})]) | ||
var remaining = remove(points, 'species', 'dogwood') | ||
console.log(remaining) | ||
``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3977
7
19