{"name":"@turf/dissolve","version":"6.3.0","keywords":["turf","dissolve","gis","geojson","polygon"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/dissolve@6.3.0","homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"a69a3d8f81826daf35e845552e458f7a8a20985e","tarball":"http://registry-npm.ywwl.com/@turf/dissolve/download/@turf/dissolve-6.3.0.tgz","fileCount":7,"integrity":"sha512-DxFH+3MQpBo3rIZSh9gjcdl00ZkyHAEK0DzTLq6JOS4vTHpYvFvDT07j/Vr+9cqfvWrAjGpQg92I8zMzh4XA6Q==","signatures":[{"sig":"MEYCIQDkrkY+zLayL6UAulSCl/aox9sapjEubIiCOOVbePxqnwIhAJ+jN3E45ZfJY2X9q4XyJwH7fo0Y9lMRqqkhOuBzSFbu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19877,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCEJxCRA9TVsSAnZWagAA3LwP/2NMgpLiYLXXSokC1yao\n19ZtWs68j3r7suiqxzTb/tib+WZk6ki4jEx/CXpPEWfGb6T0t3+B0nyLaDM5\nYDRSwuex9WEuBSgOfJI4ImFSsoNkwxpTahAC0aeWI+kMK+3J4vMhYvkD9j9s\n5KK2PI25BkCUrIe3zeXyd4pCZ05EIQqLgsA9MbU8tqZBhQkzlnB05C9rdkkR\nDAKZRrYtZvU/gRfaJ6TjNcy36G1Y7age44GjKYi/l50sZC335lviejureFrB\nOCZHMI9Fcmvt38LhQoHh+mifTeOsf+5apadYeOt8RRNab07jeCCjnXbOtBda\nnnn7fKruDIGWkOBD9mk8X3cGn7zl/i7D/jFOa9d94FjXsJNcmwHiox8dKio0\nk3hLAkH3rtzO/NxBCjQi2hN0ImoZxNSHwVUuwNSdQGkB8/vbKd9MrjP766GO\n03lJNAWM6VJ6/4UWgo+0sS6lq0+bKiNy3FMGWMj1tDmZCn8f7/SUIAFwDRhq\nooPZoOhaFbbtbJ7rh9I0W8P60BrLve0m1G+9TpyylWikMaRtm0MWoIzdsLaV\nHex4tmTdAB4woX4MxnVTVsPTvmwQqPSbQoHnSVwvzmc3l3kNcAznxkcI/q/2\nRllDLlCdas4RCBIvz0DaMneZ4gg7pM5SqNH8/bOcku/xs8krpxjEzsDY4duQ\nMEZp\r\n=an5E\r\n-----END PGP SIGNATURE-----\r\n","size":4567,"noattachment":false,"key":"/@turf/dissolve/-/@turf/dissolve-6.3.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"},"./package.json":"./package.json"},"gitHead":"57c8877e1e2d67effc2cdd23385c02b2a6615a49","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.3.0","@turf/clone":"^6.3.0","@turf/union":"^6.3.0","get-closest":"*","@turf/helpers":"^6.3.0","geojson-rbush":"3.x","@turf/invariant":"^6.3.0","@turf/line-intersect":"^6.3.0","@turf/boolean-overlap":"^6.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tape":"*","rollup":"*","benchmark":"*","npm-run-all":"*","load-json-file":"*","write-json-file":"*"},"_npmOperationalInternal":{"tmp":"tmp/dissolve_6.3.0_1611154033298_0.6148196364240699","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":1611154033409,"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":1611154033409,"dist-tags":{"latest":"7.4.0","prerelease":"7.1.0-alpha.70"}}