turf-intersect
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "turf-intersect", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "find the intersection of spatial features", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,7 +1,7 @@ | ||
turf-intersect | ||
=== | ||
[![build status](https://secure.travis-ci.org/Turfjs/turf-intersect.png)](http://travis-ci.org/Turfjs/turf-intersect) | ||
# turf-intersect | ||
Find the intersection of two Polygon Features. | ||
Find the intersection of geographic shapes. | ||
```js | ||
@@ -11,1 +11,31 @@ var intersect = require('turf-intersect'); | ||
``` | ||
##Install | ||
```sh | ||
npm install turf-intersect | ||
``` | ||
##Parameters | ||
name|description | ||
---|--- | ||
feature1|Geometry or Feature | ||
feature2|Geometry or Feature | ||
##Usage | ||
```js | ||
turf(poly1, poly2) | ||
``` | ||
###Example | ||
```js | ||
var intersect = require('turf-intersect'); | ||
var park = require('park.json'); | ||
var lake = require('lake.json'); | ||
var intersection = intersect(park, lake); | ||
console.log(intersection); | ||
``` | ||
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9444
41
0