{"name":"@turf/dissolve","version":"6.2.0","keywords":["turf","dissolve","gis","geojson","polygon"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/dissolve@6.2.0","homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"749ecf81aec15bef7db02f33a73de37c4448d5bf","tarball":"http://registry-npm.ywwl.com/@turf/dissolve/download/@turf/dissolve-6.2.0.tgz","fileCount":7,"integrity":"sha512-Tx9lxF+LlnLQR5I/+3Zr+MsCyXa+oVtZh2P9ir50Y4O5O+p+D+hNp2pr8U7TrcZ8Zr3qYJ8LeNoGe6TirmaWQg==","signatures":[{"sig":"MEYCIQCYedRWOBgMt6MCfxw0cSJgSC2OtLzsgTcIM5ziZuE5zQIhAMkZsjqM2ajOrA9/f61wZ1js+chfn9ulFUx/mkaZvX5y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19816,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/bmsCRA9TVsSAnZWagAAQE0P/jBBhERWg2PbcKJznkVt\nXmQnWpSKnr8BBJVdCJtLCMzE6m35CE58mu7j8pVjAam02IJXeJ92noFOaFWc\n1kGVvkz59lA74eYxBC/S6vbG1/0ryuWsxgn5SECVcfH+2Y/4XtAyQP0TFu77\nXRWs41RTykEkOw0KNOy8V96Dx7pUJIGGTg00TkY+y5m+oZr3NWVlw21pBT+n\nnuH7Z3SyvCBhVZ72TkrwXtUMss9shL3+yl12BuQk1n/ajskHykK9pCuCJuQi\n4WYHwQ0pM2UFq5uw6RiQ4Kq4N5ZuzqNoofz09JD4tSKjbotVwfZVfiE12PPr\nQNECAO9ugr+d3oZx1HV0FAvszmaQ6yZ9znVyM5jLW9RwpcwgurY+GLgVHf2i\npyHU7+SLXj4KemUd/XqB8pEroRO2cBfxNYzY7a4RC05e448hPBSNASfvJfnJ\nck45+crrsSv9QqeUsxqQK2aidMenRZBeS5KPfS8oV5eu+Mw6DWGFYNQ0zmv7\nFqUKL/2tWyX3B6ZPbthiu1uPr81eBZnAf82Gu9CZ9ygwmh9qmgNyc174b4jc\nZeAaYurSFUMkhigfDxTgz+OMUhjfXTnPe/VSz+5Z+39gAsBqd+mOgihcc2ZY\nh9rutWOWb0hB0aNFO7Cl35U2Q6LxQn+f6yNhp1K/EcnUOMCc6/3A94MmOgDJ\n2owp\r\n=qG0S\r\n-----END PGP SIGNATURE-----\r\n","size":4551,"noattachment":false,"key":"/@turf/dissolve/-/@turf/dissolve-6.2.0.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":"c277baf2b967a35efec75de9ae54869d20da5288","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","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","@turf/clone":"^6.2.0","@turf/union":"^6.2.0","get-closest":"*","@turf/helpers":"^6.2.0","geojson-rbush":"3.x","@turf/invariant":"^6.2.0","@turf/line-intersect":"^6.2.0","@turf/boolean-overlap":"^6.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tape":"*","rollup":"*","benchmark":"*","npm-run-all":"*","load-json-file":"*","write-json-file":"*"},"_npmOperationalInternal":{"tmp":"tmp/dissolve_6.2.0_1610463660541_0.7902163197722205","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 [MultiPolygon][2] features within the collection are not supported\n\n### Parameters\n\n*   `fc` **[FeatureCollection][3]<[Polygon][1]>**&#x20;\n*   `options` **[Object][4]** Optional parameters (optional, default `{}`)\n\n    *   `options.propertyName` **[string][5]?** features with the same `propertyName` value will be dissolved.\n*   `featureCollection` **[FeatureCollection][3]<[Polygon][1]>** input feature collection to be dissolved\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]<[Polygon][1]>** a FeatureCollection containing the dissolved polygons\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3.1.6\n\n[2]: https://tools.ietf.org/html/rfc7946#section-3.1.7\n\n[3]: https://tools.ietf.org/html/rfc7946#section-3.3\n\n[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object\n\n[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String\n\n<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run \"yarn docs\" from the root of the turf project. -->\n\n---\n\nThis module is part of the [Turfjs project](https://turfjs.org/), an open source module collection dedicated to geographic algorithms. It is maintained in the [Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create PRs and issues.\n\n### Installation\n\nInstall this single module individually:\n\n```sh\n$ npm install @turf/dissolve\n```\n\nOr install the all-encompassing @turf/turf module that includes all modules as functions:\n\n```sh\n$ npm install @turf/turf\n```\n","publish_time":1610463660655,"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":1610463660655,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}