Comparing version 1.0.1 to 1.0.2
18
index.js
@@ -7,2 +7,20 @@ //http://en.wikipedia.org/wiki/Delaunay_triangulation | ||
/** | ||
* Takes a set of points and the name of a z-value property and | ||
* creates a [Triangulated Irregular Network](http://en.wikipedia.org/wiki/Triangulated_irregular_network), | ||
* or a TIN for short. These are often used | ||
* for developing elevation contour maps or stepped heat visualizations. | ||
* | ||
* @module turf/tin | ||
* @param {GeoJSONFeatureCollection} points - a GeoJSON FeatureCollection containing | ||
* Features with Point geometries | ||
* @param {string} propertyName - name of the property from which to pull z values | ||
* @return {GeoJSONFeatureCollection} output | ||
* @example | ||
* var fs = require('fs') | ||
* var z = 'elevation' | ||
* var pts = JSON.parse(fs.readFileSync('/path/to/pts.geojson')) | ||
* var tinPolys = turf.tin(pts, z) | ||
* console.log(tinPolys) | ||
*/ | ||
module.exports = function(points, z){ | ||
@@ -9,0 +27,0 @@ //break down points |
{ | ||
"name": "turf-tin", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "turf tin module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
19228
256
1