{"name":"geojson-dissolve","description":"Dissolve contiguous GeoJSON LineStrings and Polygons into single units.","author":{"name":"Stephen Whitmore","email":"sww@eight.net"},"version":"2.0.0","repository":{"url":"git://github.com/noffle/geojson-dissolve.git"},"homepage":"https://github.com/noffle/geojson-dissolve","bugs":{"url":"https://github.com/noffle/geojson-dissolve/issues"},"main":"index.js","scripts":{"test":"tape test/*.js","lint":"standard"},"keywords":["geojson","dissolve","merge","linestring","lines","polygon","multilinestring","multipolygon"],"pre-commit":["lint","test"],"dependencies":{"@turf/union":"^3.7.5","geojson-linestring-dissolve":"0.0.1"},"devDependencies":{"tape":"~4.6.2","standard":"~8.3.0","pre-commit":"~1.1.3"},"license":"ISC","gitHead":"07b3d77e5e8a4ff2dc2cdee27a75bd31f11b9923","_id":"geojson-dissolve@2.0.0","_shasum":"ebab04d758d005df970b537598e057f2f92dce17","_from":".","_npmVersion":"4.1.1","_nodeVersion":"7.4.0","_npmUser":{"name":"noffle","email":"stephen.whitmore@gmail.com"},"dist":{"shasum":"ebab04d758d005df970b537598e057f2f92dce17","tarball":"http://registry-npm.ywwl.com/geojson-dissolve/download/geojson-dissolve-2.0.0.tgz","integrity":"sha512-Hq4wmQ+Ub8FNEASz0QrmfBTEAonjo7PDIdpM4i1tcBveRaznCC/3B+Ke1g735jO93Wh3KQjoDb5+6bWItZYo+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOjWUYd8rC5HjaSGJpVXgnGyUUNVVn5o+be08I+PypXAIhAJ9aq3yJW5VE/2oQ2aCQaYA7fqrcPnCI+FnTbwgad4xl"}],"size":1981,"noattachment":false,"key":"/geojson-dissolve/-/geojson-dissolve-2.0.0.tgz"},"maintainers":[{"name":"noffle","email":"stephen.whitmore@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/geojson-dissolve-2.0.0.tgz_1485912850320_0.8448945456184447"},"directories":{},"readme":"# geojson-dissolve\n\n[![Build Status](https://img.shields.io/travis/digidem/geojson-dissolve.svg)](https://travis-ci.org/digidem/geojson-dissolve)\n[![npm](https://img.shields.io/npm/v/geojson-dissolve.svg?maxAge=2592000)](https://www.npmjs.com/package/geojson-dissolve)\n\n\n> Dissolve contiguous GeoJSON (Multi)LineStrings and (Multi)Polygons into single units.\n\n## Usage\n\n```js\nvar dissolve = require('geojson-dissolve')\n\nvar line1 = {\n  type: 'LineString',\n  coordinates: [\n    [0.0, 0.0],\n    [1.0, 1.0],\n    [2.0, 2.0]\n  ]\n}\n\nvar line2 = {\n  type: 'LineString',\n  coordinates: [\n    [2.0, 2.0],\n    [3.0, 3.0]\n  ]\n}\n\nconsole.log(dissolve([line1, line2]))\n```\n\nThis will output\n\n```js\n{\n  type: 'LineString',\n  coordinates: [\n    [0.0, 0.0],\n    [1.0, 1.0],\n    [2.0, 2.0],\n    [3.0, 3.0]\n  ]\n}\n```\n\n## API\n\n```js\nvar dissolve = require('geojson-dissolve')\n```\n\n### `dissolve([geojson])` or `dissolve(gj1, gj2, ...)`\n\nConsumes a list of homogenous [GeoJSON\nobjects](https://tools.ietf.org/html/rfc7946#section-3), and returns a single [GeoJSON Geometry Object](https://tools.ietf.org/html/rfc7946#section-3.1), with all touching `LineString`s and `Polygon`s dissolved into single geometries.\n\n## Install\n\nWith [npm](https://npmjs.org/) installed, run\n\n```\n$ npm install geojson-dissolve\n```\n\n## License\n\nISC\n\n","publish_time":1485912850537,"_cnpm_publish_time":1485912850537,"dist-tags":{"latest":"3.1.0"}}