Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "turf-tin", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "turf tin module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
turf-tin | ||
======== | ||
[![build status](https://secure.travis-ci.org/Turfjs/turf-tin.png)](http://travis-ci.org/Turfjs/turf-tin) | ||
Takes a set of points and the name of a z-value property and creates a tin (Triangulated Irregular Network). These are often used for developing elevation contour maps or stepped heat visualizations. | ||
```javascript | ||
var tin = require('turf-tin') | ||
var fs = require('fs') | ||
var z = 'elevation' | ||
var pts = JSON.parse(fs.readFileSync('/path/to/pts.geojson')) | ||
var tinPolys = tin(pts, z) | ||
console.log(tinPolys) | ||
``` |
@@ -5,3 +5,3 @@ var test = require('tape') | ||
test('tag', function(t){ | ||
test('tin', function(t){ | ||
var points = JSON.parse(fs.readFileSync(__dirname+'/geojson/Points.geojson')) | ||
@@ -8,0 +8,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
17876
9
17