Socket
Socket
Sign inDemoInstall

turf

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

turf - npm Package Compare versions

Comparing version 0.0.116 to 0.0.117

lib/isobands.js

2

index.js
module.exports = {
isolines: require('./lib/isolines'),
isobands: require('./lib/isobands'),
merge: require('./lib/merge'),

@@ -3,0 +5,0 @@ convex: require('./lib/convex'),

26

package.json
{
"name": "turf",
"version": "0.0.116",
"version": "0.0.117",
"description": "a node.js library for performing geospatial operations with geojson",

@@ -45,13 +45,15 @@ "main": "index.js",

},
"dependencies": [
"lodash",
"simple-statistics",
"topojson",
"jsts",
"async"
],
"devDependencies": [
"mocha",
"should"
]
"dependencies": {
"simple-statistics": "~0.7.0",
"lodash": "~2.4.1",
"topojson": "~1.4.6",
"async": "~0.2.10",
"jsts": "~0.13.2"
},
"devDependencies": {
"should": "~3.1.2",
"mocha": "~1.17.1",
"browserify": "~3.28.1",
"uglify-js": "~2.4.12"
}
}

@@ -6,3 +6,3 @@ var t = require('../index'),

describe('contour', function(){
it('should take a set of points with z values and output a set of contour polygons', function(done){
xit('should take a set of points with z values and output a set of contour polygons', function(done){
t.load(__dirname+'/testIn/elevation1.geojson', function(err, points){

@@ -18,3 +18,3 @@ t.contour(points, 'elevation', 15, [25, 45, 55, 65, 85, 95, 105, 120, 180], false, function(err, contours){

})
it('should take a set of points with z values and output a set of contour polygons with jenks breaks', function(done){
xit('should take a set of points with z values and output a set of contour polygons with jenks breaks', function(done){
t.load(__dirname+'/testIn/elevation1.geojson', function(err, points){

@@ -33,3 +33,3 @@ t.jenks(points, 'elevation', 5, function(err, breaks){

})
it('should take a set of points with decimal z values and output a set of contour polygons', function(done){
xit('should take a set of points with decimal z values and output a set of contour polygons', function(done){
t.load(__dirname+'/testIn/elevation2.geojson', function(err, points){

@@ -45,3 +45,3 @@ t.contour(points, 'elevation', 15, [-2000,-20, -5, -1, 0, 2, 5, 10, 20, 30, 500 ], false, function(err, contours){

})
it('should take a set of points with negative z values and output a set of contour polygons', function(done){
xit('should take a set of points with negative z values and output a set of contour polygons', function(done){
t.load(__dirname+'/testIn/elevation3.geojson', function(err, points){

@@ -57,3 +57,3 @@ t.contour(points, 'elevation', 15, [25, 45, 55, 65, 85, 95, 105, 120, 180], false, function(err, contours){

})
it('should take a set of points lopsided edges and output a set of contour polygons', function(done){
xit('should take a set of points lopsided edges and output a set of contour polygons', function(done){
t.load(__dirname+'/testIn/openContourPoints.geojson', function(err, points){

@@ -69,3 +69,3 @@ t.contour(points, 'elevation', 15, [5, 15, 40, 80, 90, 110], false, function(err, contours){

})
it('should take a set of points with internal valleys and output a set of contour polygons', function(done){
xit('should take a set of points with internal valleys and output a set of contour polygons', function(done){
t.load(__dirname+'/testIn/holeContourPoints.geojson', function(err, points){

@@ -72,0 +72,0 @@ t.contour(points, 'elevation', 15, [5, 15, 40, 80, 90, 110], true, function(err, contours){

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc