{"name":"geojson-dissolve","description":"Dissolve contiguous GeoJSON LineStrings and Polygons into single units.","author":{"name":"Stephen Whitmore","email":"sww@eight.net"},"version":"3.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"],"dependencies":{"@turf/meta":"^3.7.5","geojson-flatten":"^0.2.1","geojson-linestring-dissolve":"0.0.1","topojson-client":"^2.1.0","topojson-server":"^2.0.0"},"devDependencies":{"benchmark":"^2.1.3","glob":"^7.1.1","standard":"~8.3.0","tape":"~4.6.2"},"license":"ISC","gitHead":"dafc0e2c56806336432ffc67042b50fd3ef05f77","_id":"geojson-dissolve@3.0.0","_shasum":"a69857e2b39a334a769daf10a3116bdc00b78367","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.7.0","_npmUser":{"name":"gmaclennan","email":"gmaclennan@digital-democracy.org"},"dist":{"shasum":"a69857e2b39a334a769daf10a3116bdc00b78367","tarball":"http://registry-npm.ywwl.com/geojson-dissolve/download/geojson-dissolve-3.0.0.tgz","integrity":"sha512-35+hTMef3o+u00zda53rh4X+ljD5pUlXVhIbqBSDk06xoZukH06Z/VIA0Z6P//8u6KvUhuJ3nb1Hy1FG1fgNeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCySWVP9vR3aJN1GAz9WG00IjE1l6jFZeyG1LejEkR57wIgaG0MePELd7wjReyoSNz0z7sV6x0HymCbGMNy6W8CmQU="}],"size":200327,"noattachment":false,"key":"/geojson-dissolve/-/geojson-dissolve-3.0.0.tgz"},"maintainers":[{"name":"gmaclennan","email":"gmaclennan@digital-democracy.org"},{"name":"noffle","email":"stephen.whitmore@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/geojson-dissolve-3.0.0.tgz_1486679033646_0.6277865816373378"},"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":1486679035627,"_cnpm_publish_time":1486679035627,"dist-tags":{"latest":"3.1.0"}}