{"name":"@turf/dissolve","version":"6.2.0-alpha.3","keywords":["turf","dissolve","gis","geojson","polygon"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/dissolve@6.2.0-alpha.3","homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"e960b910439db74d0c72024e43cc24e7e1708dee","tarball":"http://registry-npm.ywwl.com/@turf/dissolve/download/@turf/dissolve-6.2.0-alpha.3.tgz","fileCount":8,"integrity":"sha512-RmkyRDjJ31Nc7kzw9WTCfvHzxjmEIcFjUPenh/5T4Ohwae+NI3XrSA6DfAMGx4+1qPGfWXt6HdYablMdF3gpjg==","signatures":[{"sig":"MEYCIQCLnsehvVAgXeugAQamiLdda2g2mKT5wZtvwZ3k6TDbUQIhALOsr4fMmx9POY3vBSTt8F4/9nOn1JJp7qdGRC6RRf7U","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27385,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0o8VCRA9TVsSAnZWagAANpQP+wXb5HTGxbcFWOq0k0cR\nPsz08KWZ3Wszf0U5SEUbxLrLTOHKMg6apncjweqXquntUVldxLxfR4OODkz4\ny+Hp3u1YT7aaEqoJm9arbQmfg/lC9XG/hveHJVjCkk2pZG2BQB0N92X1yiln\nmlIGWxWjrdN8EeOU6cMPEP7AEHaPaBsGWqfOv0ij3wCVSXtxtpxDd3rhpPCH\nfrJrlFsr5U8afYzE1AaVpAwwtS7fHcxYvq8KuneJvYm7pV3OHyGmkVUtOut2\ngxS5b8qEye7A794uHDksSuKGS/XKcNQftAF8KqPOWK8dcoY8GsREBjhe5VvL\nl42n8YRatA4cB9UKgKbc9igMigFwguyl5M/Bh5NWezRSE1Jb+fOsjF+1XXMR\nAjhzYCs7I76taEY5Xhb2JSZmVYKb0AO7iZL211cxzPMk/u+XEuF06HfmFP3E\nOMsTBk5zzrZ6ICzOP2A26jZrhEDewSEKdyBEUIhKgaKBByKfRzjtlnKOuwIE\nVueGl1IR8U2zrczZ5Z8YMA/kgMSqZFlw6Byxh7be5Car+BERfBTAVoTNY1as\n/z5E2Kjm8UbSrX8EY1bGIatMoZBiDhfIEsqdsYVUJsJPlPVbGY0fjW5t9zf4\n2Hw5hsKEExvjNMwHeuq7t2PZYmh0kAlGrvM67f13PtWe+vmzxpZvmvFsFhrs\npV0e\r\n=hjwT\r\n-----END PGP SIGNATURE-----\r\n","size":5049,"noattachment":false,"key":"/@turf/dissolve/-/@turf/dissolve-6.2.0-alpha.3.tgz"},"main":"dist/js/index.js","types":"index.d.ts","module":"dist/es/index.js","exports":{"import":"./dist/es/index.js","require":"./dist/js/index.js"},"gitHead":"dce9edfc705352e8cb9e0083c9330ba0e8d77409","scripts":{"docs":"node ../../scripts/generate-readmes","test":"npm-run-all test:*","bench":"node -r esm bench.js","build":"rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json","posttest":"node -r esm ../../scripts/validate-es5-dependencies.js","test:tape":"node -r esm test.js"},"_npmUser":{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v13.10.1+x64 (darwin)","description":"turf dissolve module","directories":{},"sideEffects":false,"_nodeVersion":"13.10.1","dependencies":{"@turf/meta":"^6.2.0-alpha.3","@turf/clone":"^6.2.0-alpha.3","@turf/union":"^6.2.0-alpha.3","get-closest":"*","@turf/helpers":"^6.2.0-alpha.3","geojson-rbush":"3.x","@turf/invariant":"^6.2.0-alpha.3","@turf/line-intersect":"^6.2.0-alpha.3","@turf/boolean-overlap":"^6.2.0-alpha.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tape":"*","rollup":"*","benchmark":"*","npm-run-all":"*","load-json-file":"*","write-json-file":"*"},"_npmOperationalInternal":{"tmp":"tmp/dissolve_6.2.0-alpha.3_1607634708657_0.5515744198438604","host":"s3://npm-registry-packages"},"readme":"# @turf/dissolve\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## dissolve\n\nDissolves a FeatureCollection of [polygon][1] features, filtered by an optional property name:value.\nNote that [mulitpolygon][2] features within the collection are not supported\n\n**Parameters**\n\n-   `featureCollection` **[FeatureCollection][3]&lt;[Polygon][4]>** input feature collection to be dissolved\n-   `options` **[Object][5]** Optional parameters (optional, default `{}`)\n    -   `options.propertyName` **[string][6]?** features with equals 'propertyName' in `properties` will be merged\n\n**Examples**\n\n```javascript\nvar features = turf.featureCollection([\n  turf.polygon([[[0, 0], [0, 1], [1, 1], [1, 0], [0, 0]]], {combine: 'yes'}),\n  turf.polygon([[[0, -1], [0, 0], [1, 0], [1, -1], [0,-1]]], {combine: 'yes'}),\n  turf.polygon([[[1,-1],[1, 0], [2, 0], [2, -1], [1, -1]]], {combine: 'no'}),\n]);\n\nvar dissolved = turf.dissolve(features, {propertyName: 'combine'});\n\n//addToMap\nvar addToMap = [features, dissolved]\n```\n\nReturns **[FeatureCollection][3]&lt;[Polygon][4]>** a FeatureCollection containing the dissolved polygons\n\n[1]: polygon\n\n[2]: mulitpolygon\n\n[3]: https://tools.ietf.org/html/rfc7946#section-3.3\n\n[4]: https://tools.ietf.org/html/rfc7946#section-3.1.6\n\n[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object\n\n[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String\n\n<!-- This file is automatically generated. Please don't edit it directly:\nif you find an error, edit the source file (likely index.js), and re-run\n./scripts/generate-readmes in the turf project. -->\n\n---\n\nThis module is part of the [Turfjs project](http://turfjs.org/), an open source\nmodule collection dedicated to geographic algorithms. It is maintained in the\n[Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create\nPRs and issues.\n\n### Installation\n\nInstall this module individually:\n\n```sh\n$ npm install @turf/dissolve\n```\n\nOr install the Turf module that includes it as a function:\n\n```sh\n$ npm install @turf/turf\n```\n","publish_time":1607634708800,"maintainers":[{"name":"smallsaucepan","email":"james@smallsaucepan.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"}],"_cnpm_publish_time":1607634708800,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}