Comparing version 0.0.109 to 0.0.110
@@ -13,6 +13,11 @@ // 1. run tin on points | ||
function(poly, cb){ | ||
t.union(merged, poly, function(err, mergedPolys){ | ||
merged = mergedPolys | ||
if(poly.geometry){ | ||
t.union(merged, poly, function(err, mergedPolys){ | ||
merged = mergedPolys | ||
cb() | ||
}) | ||
} | ||
else { | ||
cb() | ||
}) | ||
} | ||
}, | ||
@@ -19,0 +24,0 @@ function(){ |
{ | ||
"name": "turf", | ||
"version": "0.0.109", | ||
"version": "0.0.110", | ||
"description": "a node.js library for performing geospatial operations with geojson", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -26,4 +26,4 @@ var t = require('../index'), | ||
}) | ||
xit('should take a set of polygons for all countries and create a set of continents', function(done){ | ||
t.load('../test/testIn/countries.geojson', function(err, polygons){ | ||
it('should take a set of polygons for all countries and create a set of continents', function(done){ | ||
t.load('../test/testIn/countries_simp.geojson', function(err, polygons){ | ||
t.merge(polygons, function(err, mergeOut){ | ||
@@ -30,0 +30,0 @@ if(err) throw err |
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
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
4144180
228
22795