New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.6.1 to 3.6.3

index.d.ts

8

index.js

@@ -14,6 +14,6 @@ var distance = require('@turf/distance');

* @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 Units to use for cellWidth ('miles' or 'kilometers')
* @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"

@@ -20,0 +20,0 @@ */

{
"name": "@turf/idw",
"version": "3.6.1",
"version": "3.6.3",
"description": "Calculate a grid with IDW - Inverse Distance Weighted - values.",

@@ -10,6 +10,6 @@ "main": "index.js",

"dependencies": {
"@turf/centroid": "^3.6.1",
"@turf/distance": "^3.6.1",
"@turf/bbox": "^3.6.1",
"@turf/square-grid": "^3.6.1"
"@turf/centroid": "^3.6.3",
"@turf/distance": "^3.6.3",
"@turf/bbox": "^3.6.3",
"@turf/square-grid": "^3.6.3"
},

@@ -16,0 +16,0 @@ "devDependencies": {

@@ -13,6 +13,6 @@ # @turf/idw

- `controlPoints` **[FeatureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects)&lt;[Point](http://geojson.org/geojson-spec.html#point)>** Sampled points with known value
- `valueField` **[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** GeoJSON field containing the known value to interpolate on
- `b` **[Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** Exponent regulating the distance-decay weighting
- `cellWidth` **[Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** The distance across each cell
- `units` **[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Units to use for cellWidth ('miles' or 'kilometers')
- `valueField` **[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** GeoJSON field containing the known value to interpolate on
- `b` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** Exponent regulating the distance-decay weighting
- `cellWidth` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** The distance across each cell
- `units` **\[[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)]** used in calculating cellSize, can be degrees, radians, miles, or kilometers (optional, default `kilometers`)

@@ -19,0 +19,0 @@ Returns **[FeatureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects)&lt;[Polygon](http://geojson.org/geojson-spec.html#polygon)>** grid A grid of polygons with a property field "IDW"

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