Socket
Socket
Sign inDemoInstall

turf-combine

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-combine

turf combine module


Version published
Weekly downloads
13K
increased by13%
Maintainers
1
Weekly downloads
 
Created
Source

turf-combine

build status

Combines a FeatureCollection of point, linestring, or polygon Features into multipoint, multilinestring, or multipolygon Features.

###Install

npm install turf-combine

###Parameters

namedescription
fcA Feature or FeatureCollection of any type

###Usage

combine(fc)

###Example

var combine = require('turf-combine')
var point = require('turf-point')
var featurecollection = require('turf-featurecollection')

var pt1 = point(50, 1)
var pt2 = point(100, 101)
var fc = featurecollection([pt1, pt2])

var combined = combine(fc)

console.log(combined)

Keywords

FAQs

Package last updated on 21 Jun 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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