Comparing version 3.7.3 to 3.7.5
@@ -13,2 +13,3 @@ var distance = require('@turf/distance'); | ||
* | ||
* @name idw | ||
* @param {FeatureCollection<Point>} controlPoints Sampled points with known value | ||
@@ -21,3 +22,3 @@ * @param {string} valueField GeoJSON field containing the known value to interpolate on | ||
*/ | ||
module.exports = function (controlPoints, valueField, b, cellWidth, units) { | ||
module.exports = function idw(controlPoints, valueField, b, cellWidth, units) { | ||
// check if field containing data exists.. | ||
@@ -24,0 +25,0 @@ var filtered = controlPoints.features.filter(function (feature) { |
{ | ||
"name": "@turf/idw", | ||
"version": "3.7.3", | ||
"version": "3.7.5", | ||
"description": "Calculate a grid with IDW - Inverse Distance Weighted - values.", | ||
@@ -10,6 +10,6 @@ "main": "index.js", | ||
"dependencies": { | ||
"@turf/centroid": "^3.7.3", | ||
"@turf/distance": "^3.7.3", | ||
"@turf/bbox": "^3.7.3", | ||
"@turf/square-grid": "^3.7.3" | ||
"@turf/centroid": "^3.7.5", | ||
"@turf/distance": "^3.7.5", | ||
"@turf/bbox": "^3.7.5", | ||
"@turf/square-grid": "^3.7.5" | ||
}, | ||
@@ -16,0 +16,0 @@ "devDependencies": { |
# @turf/idw | ||
# index | ||
# idw | ||
@@ -5,0 +5,0 @@ Takes a FeatureCollection of points with known value, a power parameter, a cell depth, a unit of measurement |
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
398268
80
Updated@turf/bbox@^3.7.5
Updated@turf/centroid@^3.7.5
Updated@turf/distance@^3.7.5
Updated@turf/square-grid@^3.7.5