{"_id":"geojson-dissolve","_rev":"8-f2015d98c473376628911fa1834f7874","name":"geojson-dissolve","description":"Dissolve contiguous GeoJSON LineStrings and Polygons into single units.","dist-tags":{"latest":"3.1.0"},"versions":{"1.0.0":{"name":"geojson-dissolve","description":"Dissolve contiguous GeoJSON LineStrings and Polygons into single units.","author":{"name":"Stephen Whitmore","email":"sww@eight.net"},"version":"1.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","clone":"^2.1.0","geojson-linestring-dissolve":"0.0.1"},"devDependencies":{"tape":"~4.6.2","standard":"~8.3.0","pre-commit":"~1.1.3"},"license":"ISC","gitHead":"29360f9804f25531bc1247d276bc2e74078725a2","_id":"geojson-dissolve@1.0.0","_shasum":"d9e4bc23fbcbbba6483f734a2bc69f67a32096f4","_from":".","_npmVersion":"4.1.1","_nodeVersion":"7.4.0","_npmUser":{"name":"noffle","email":"stephen.whitmore@gmail.com"},"dist":{"shasum":"d9e4bc23fbcbbba6483f734a2bc69f67a32096f4","tarball":"https://registry.npmjs.org/geojson-dissolve/-/geojson-dissolve-1.0.0.tgz","integrity":"sha512-7U81/GgjIWF3BBgLpRclLb7oUjlwTgwAnqQ9k9fLxTm6TN/FwsOROUcvWx2jHHtFMSdhSPokwxhuljcbGn0aww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxGabTap24iLYvu1IOsdCE6PSajP/upf1jFgANVnEMoQIgViLfU/wO2xCWOnFHeui9qVHKB9IdaUaI7jowvyC3x1w="}]},"maintainers":[{"name":"noffle","email":"stephen.whitmore@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/geojson-dissolve-1.0.0.tgz_1485826356131_0.3261360100004822"}},"2.0.0":{"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":"https://registry.npmjs.org/geojson-dissolve/-/geojson-dissolve-2.0.0.tgz","integrity":"sha512-Hq4wmQ+Ub8FNEASz0QrmfBTEAonjo7PDIdpM4i1tcBveRaznCC/3B+Ke1g735jO93Wh3KQjoDb5+6bWItZYo+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOjWUYd8rC5HjaSGJpVXgnGyUUNVVn5o+be08I+PypXAIhAJ9aq3yJW5VE/2oQ2aCQaYA7fqrcPnCI+FnTbwgad4xl"}]},"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"}},"3.0.0":{"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":"https://registry.npmjs.org/geojson-dissolve/-/geojson-dissolve-3.0.0.tgz","integrity":"sha512-35+hTMef3o+u00zda53rh4X+ljD5pUlXVhIbqBSDk06xoZukH06Z/VIA0Z6P//8u6KvUhuJ3nb1Hy1FG1fgNeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCySWVP9vR3aJN1GAz9WG00IjE1l6jFZeyG1LejEkR57wIgaG0MePELd7wjReyoSNz0z7sV6x0HymCbGMNy6W8CmQU="}]},"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"}},"3.1.0":{"name":"geojson-dissolve","description":"Dissolve contiguous GeoJSON LineStrings and Polygons into single units.","author":{"name":"Stephen Whitmore","email":"sww@eight.net"},"version":"3.1.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":"^3.0.0","topojson-server":"^3.0.0"},"devDependencies":{"@mapbox/geojsonhint":"^2.0.1","benchmark":"^2.1.3","glob":"^7.1.1","standard":"~8.3.0","tape":"~4.6.2"},"license":"ISC","gitHead":"bf6110799c6c8d352c73de0eb6bd014b6f3560d0","_id":"geojson-dissolve@3.1.0","_shasum":"86823271680a1a381f3e72f02648bbcc710ecda1","_from":".","_npmVersion":"4.2.0","_nodeVersion":"6.10.1","_npmUser":{"name":"gmaclennan","email":"gmaclennan@digital-democracy.org"},"dist":{"shasum":"86823271680a1a381f3e72f02648bbcc710ecda1","tarball":"https://registry.npmjs.org/geojson-dissolve/-/geojson-dissolve-3.1.0.tgz","integrity":"sha512-JXHfn+A3tU392HA703gJbjmuHaQOAE/C1KzbELCczFRFux+GdY6zt1nKb1VMBHp4LWeE7gUY2ql+g06vJqhiwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOT5Z4IRTzaMzxDY/NVAcT1eNucBl1uiuDJe3/H/09tQIhANotcD32dr3H70EyqyiedK/NDMy5PUt+y4+QG3kV3g9Q"}]},"maintainers":[{"name":"gmaclennan","email":"gmaclennan@digital-democracy.org"},{"name":"noffle","email":"stephen.whitmore@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/geojson-dissolve-3.1.0.tgz_1491970322595_0.9103948848787695"}}},"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","maintainers":[{"name":"gmaclennan","email":"gmaclennan@digital-democracy.org"},{"name":"noffle","email":"stephen.whitmore@gmail.com"}],"time":{"modified":"2022-06-18T07:36:59.464Z","created":"2017-01-31T01:32:36.361Z","1.0.0":"2017-01-31T01:32:36.361Z","2.0.0":"2017-02-01T01:34:10.537Z","3.0.0":"2017-02-09T22:23:55.627Z","3.1.0":"2017-04-12T04:12:02.838Z"},"homepage":"https://github.com/noffle/geojson-dissolve","keywords":["geojson","dissolve","merge","linestring","lines","polygon","multilinestring","multipolygon"],"repository":{"url":"git://github.com/noffle/geojson-dissolve.git"},"author":{"name":"Stephen Whitmore","email":"sww@eight.net"},"bugs":{"url":"https://github.com/noffle/geojson-dissolve/issues"},"license":"ISC","readmeFilename":"README.md"}