Comparing version 0.0.68 to 0.0.69
module.exports = { | ||
bezier: require('./lib/bezier'), | ||
tag: require('./lib/tag'), | ||
@@ -3,0 +4,0 @@ size: require('./lib/size'), |
{ | ||
"name": "turf", | ||
"version": "0.0.68", | ||
"version": "0.0.69", | ||
"description": "a node.js library for performing geospatial operations with geojson", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -64,2 +64,3 @@ turf | ||
- tag | ||
- bezier | ||
@@ -585,2 +586,35 @@ **Planned Features** | ||
**bezier** | ||
Takes a linestring and outputs a curved version of the line. | ||
```javascript | ||
var t = require('turf') | ||
var resolution = 5000 | ||
var intensity = .85 | ||
var lineIn = t.linestring([ | ||
[ | ||
-80.08724212646484, | ||
32.77428536643231 | ||
], | ||
[ | ||
-80.03746032714844, | ||
32.84007757059952 | ||
], | ||
[ | ||
-80.01548767089844, | ||
32.74512501406368 | ||
], | ||
[ | ||
-79.95368957519531, | ||
32.850461360442424 | ||
] | ||
]) | ||
t.bezier(lineIn, 5000, .85, function(err, lineOut){ | ||
if(err) throw err | ||
console.log(lineOut) | ||
}) | ||
``` | ||
- - - | ||
@@ -587,0 +621,0 @@ |
@@ -8,6 +8,3 @@ var t = require('../index') | ||
t.remove(points, 'team', 'Yankees', function(err, newCol) { | ||
//throw new Error('not implemented') | ||
if(err) throw err | ||
//console.log(newCol.features[0].properties); | ||
console.log(newCol.features.length) | ||
newCol.features.length.should.equal(3) | ||
@@ -14,0 +11,0 @@ done() |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
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
1078121
124
12354
660
3
70
22