Comparing version 3.13.1 to 3.14.0
16
index.js
@@ -13,11 +13,11 @@ var distance = require('@turf/distance'); | ||
* | ||
* @name idw | ||
* @param {FeatureCollection<Point>} controlPoints Sampled points with known value | ||
* @param {string} valueField GeoJSON field containing the known value to interpolate on | ||
* @param {number} b Exponent regulating the distance-decay weighting | ||
* @param {number} cellWidth The distance across each cell | ||
* @param {string} [units=kilometers] used in calculating cellSize, can be degrees, radians, miles, or kilometers | ||
* @return {FeatureCollection<Polygon>} grid A grid of polygons with a property field "IDW" | ||
* @name idw | ||
* @param {FeatureCollection<Point>} controlPoints Sampled points with known value | ||
* @param {string} valueField GeoJSON field containing the known value to interpolate on | ||
* @param {number} b Exponent regulating the distance-decay weighting | ||
* @param {number} cellWidth The distance across each cell | ||
* @param {string} [units=kilometers] used in calculating cellSize, can be degrees, radians, miles, or kilometers | ||
* @returns {FeatureCollection<Polygon>} grid A grid of polygons with a property field "IDW" | ||
*/ | ||
module.exports = function idw(controlPoints, valueField, b, cellWidth, units) { | ||
module.exports = function (controlPoints, valueField, b, cellWidth, units) { | ||
// check if field containing data exists.. | ||
@@ -24,0 +24,0 @@ var filtered = controlPoints.features.filter(function (feature) { |
{ | ||
"name": "@turf/idw", | ||
"version": "3.13.1", | ||
"version": "3.14.0", | ||
"description": "turf idw module", | ||
@@ -29,8 +29,8 @@ "main": "index.js", | ||
"dependencies": { | ||
"@turf/bbox": "^3.13.0", | ||
"@turf/centroid": "^3.13.0", | ||
"@turf/distance": "^3.13.0", | ||
"@turf/bbox": "^3.14.0", | ||
"@turf/centroid": "^3.14.0", | ||
"@turf/distance": "^3.14.0", | ||
"@turf/helpers": "^3.13.0", | ||
"@turf/square-grid": "^3.13.1" | ||
"@turf/square-grid": "^3.14.0" | ||
} | ||
} |
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
6946
Updated@turf/bbox@^3.14.0
Updated@turf/centroid@^3.14.0
Updated@turf/distance@^3.14.0
Updated@turf/square-grid@^3.14.0