Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@turf/idw

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/idw - npm Package Compare versions

Comparing version 3.7.3 to 3.7.5

3

index.js

@@ -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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc