Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "turf-count", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "turf count module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -19,8 +19,5 @@ var count = require('./') | ||
var ptFC = featurecollection([pt1, pt2, pt3, pt4, pt5]) | ||
deepFreeze(ptFC) | ||
deepFreeze(polyFC) | ||
var counted = count(polyFC, ptFC, 'pt_count') | ||
console.log(counted.features.map(function(f){return f.properties.pt_count})) | ||
t.equal(counted.features[0].geometry.type, 'Polygon') | ||
@@ -27,0 +24,0 @@ t.equal(counted.features[0].properties.pt_count, 2) |
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
4863
39