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

turf-tin

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

turf-tin - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

.travis.yml

2

package.json
{
"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 @@

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