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

turf-isobands

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

turf-isobands - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

.travis.yml

2

package.json
{
"name": "turf-isobands",
"version": "0.0.2",
"version": "0.0.3",
"description": "turf isobands module",

@@ -5,0 +5,0 @@ "main": "index.js",

turf-isobands
=============
[![Build Status](https://travis-ci.org/Turfjs/turf-isobands.svg?branch=master)](https://travis-ci.org/Turfjs/turf-isobands)
Takes a FeatureCollection of points with z values and an array of value breaks and generates filled contour isobands. These are commonly used to create elevation maps, but can be used for general data interpolation as well.
```js
var isobands = require('turf-isobands')
var fs = require('fs')
var z = 'elevation'
var resolution = 15
var breaks = [.1, 22, 45, 55, 65, 85, 95, 105, 120, 180]
var points = JSON.parse(fs.readFileSync('/path/to/points.geojson'))
isobands(points, z, resolution, breaks)
console.log(isolines)
```
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