{"_id":"turf-overlaps","_rev":"10-596e0f6bb075d32d603c72f56aa3b62c","name":"turf-overlaps","description":"find whether spatial features overlap","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"turf-overlaps","version":"1.0.0","description":"find whether spatial features overlap","main":"index.js","scripts":{"test":"node test/test.js","doc":"dox -r < index.js | doxme --readme > README.md"},"repository":{"type":"git","url":"git://github.com/tchannel/turf-overlaps.git"},"keywords":["turf","gis","intersect"],"author":{"name":"Tim Channell"},"license":"ISC","bugs":{"url":"https://github.com/tchannel/turf-overlaps/issues"},"homepage":"https://github.com/tchannel/turf-overlaps","devDependencies":{"benchmark":"^1.0.0","glob":"~4.3.1","tape":"~3.0.3","dox":"^0.6.1","doxme":"^1.4.2"},"dependencies":{"turf-is-clockwise":"^1.0.0"},"gitHead":"0c880c9d93d26d3d2851b0e853a8d0f9883e9d3e","_id":"turf-overlaps@1.0.0","_shasum":"cfe241f60789b20137ee0a46d1997a14f756c891","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"tcql","email":"tim.channell@gmail.com"},"maintainers":[{"name":"tcql","email":"tim.channell@gmail.com"}],"dist":{"shasum":"cfe241f60789b20137ee0a46d1997a14f756c891","tarball":"https://registry.npmjs.org/turf-overlaps/-/turf-overlaps-1.0.0.tgz","integrity":"sha512-hQTvbZXXmlfitvtGi/Tyus3BdWj66+KDzlYv/MsN6rCZdLeCYWVQ/qlUNAG31iI5TTb6xeTmaeY1+x9zQrHOiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB+1JL4IcHzuvPGeRuOZ1eT3cEjm0hipQ/4p+n8Xez6TAiEAl+u/4dNbKkEW+twCbyrphAj6mwWqqEhKDfMgE+Se+Qk="}]}},"1.0.1":{"name":"turf-overlaps","version":"1.0.1","description":"find whether spatial features overlap","main":"index.js","scripts":{"test":"node test/test.js","doc":"dox -r < index.js | doxme --readme > README.md"},"repository":{"type":"git","url":"git://github.com/tchannel/turf-overlaps.git"},"keywords":["turf","gis","intersect"],"author":{"name":"Tim Channell"},"license":"ISC","bugs":{"url":"https://github.com/tchannel/turf-overlaps/issues"},"homepage":"https://github.com/tchannel/turf-overlaps","devDependencies":{"benchmark":"^1.0.0","glob":"~4.3.1","tape":"~3.0.3","dox":"^0.6.1","doxme":"^1.4.2"},"dependencies":{"turf-is-clockwise":"^1.0.0"},"gitHead":"ad3bc2d73a916ec3bd87b2544bbd2a670d223c56","_id":"turf-overlaps@1.0.1","_shasum":"e2e2c02f712027abb0bef4379c57711b36cdddcf","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"tcql","email":"tim.channell@gmail.com"},"maintainers":[{"name":"tcql","email":"tim.channell@gmail.com"}],"dist":{"shasum":"e2e2c02f712027abb0bef4379c57711b36cdddcf","tarball":"https://registry.npmjs.org/turf-overlaps/-/turf-overlaps-1.0.1.tgz","integrity":"sha512-5i7/oqwOBaXOtLVK4XXRNL51xFTGRX9Rbz1AtSthBgV/jTvEpjxfM1P+Hp3Pst4KMT8ImEUnm4ebF69ezXZjBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqbkURY/T8jyC05/POISOI33zwT6PAh2fT1kJU76GUVQIhAMfzzZOyKkodsz3u0AhcWPsTpX1qLB6BXfJHbv6ReX+1"}]}},"1.0.2":{"name":"turf-overlaps","version":"1.0.2","description":"find whether spatial features overlap","main":"index.js","scripts":{"test":"node test/test.js","doc":"dox -r < index.js | doxme --readme > README.md"},"repository":{"type":"git","url":"git://github.com/tchannel/turf-overlaps.git"},"keywords":["turf","gis","overlap"],"author":{"name":"Tim Channell"},"license":"ISC","bugs":{"url":"https://github.com/tchannel/turf-overlaps/issues"},"homepage":"https://github.com/tchannel/turf-overlaps","devDependencies":{"benchmark":"^1.0.0","glob":"~4.3.1","tape":"~3.0.3","dox":"^0.6.1","doxme":"^1.4.2"},"dependencies":{"turf-is-clockwise":"^1.0.0"},"gitHead":"5a33a3c243ab5d70a8ec12af8685251981326473","_id":"turf-overlaps@1.0.2","_shasum":"526d1ee58fe61e00aba43a570ce524f71ae4f798","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"tcql","email":"tim.channell@gmail.com"},"maintainers":[{"name":"tcql","email":"tim.channell@gmail.com"}],"dist":{"shasum":"526d1ee58fe61e00aba43a570ce524f71ae4f798","tarball":"https://registry.npmjs.org/turf-overlaps/-/turf-overlaps-1.0.2.tgz","integrity":"sha512-QQ5llkvf8BlEpU0piIXlMih5+ZAMLWC1MkhtdcpCkF4vhUXQdEET7W0yxaNbNeCpA9FDAdQ+kEEpp8RmnDOxsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9fjklplEdTcRVFe7MmLX6JyK2RcYq8pfFZS6zgeUd/wIgRKNUkBUpBFrQe7Z+0nPvziXsWN7uThYeqRgtXYG9EQQ="}]}},"1.0.3":{"name":"turf-overlaps","version":"1.0.3","description":"find whether spatial features overlap","main":"index.js","scripts":{"test":"node test/test.js","doc":"dox -r < index.js | doxme --readme > README.md"},"repository":{"type":"git","url":"git://github.com/tchannel/turf-overlaps.git"},"keywords":["turf","gis","overlap"],"author":{"name":"Tim Channell"},"license":"ISC","bugs":{"url":"https://github.com/tchannel/turf-overlaps/issues"},"homepage":"https://github.com/tchannel/turf-overlaps","devDependencies":{"benchmark":"^1.0.0","glob":"~4.3.1","tape":"~3.0.3","dox":"^0.6.1","doxme":"^1.4.2"},"dependencies":{"turf-is-clockwise":"^1.0.0"},"gitHead":"586909bcb0c2b2b3cbf53bda3736d417fd8197b2","_id":"turf-overlaps@1.0.3","_shasum":"4711c91466853af03b3ce962585aeca9fc2325f5","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"tcql","email":"tim.channell@gmail.com"},"maintainers":[{"name":"tcql","email":"tim.channell@gmail.com"}],"dist":{"shasum":"4711c91466853af03b3ce962585aeca9fc2325f5","tarball":"https://registry.npmjs.org/turf-overlaps/-/turf-overlaps-1.0.3.tgz","integrity":"sha512-LESQE6sbu76on/rTc/QEKvWfTwBMmZdb1YX0vQNeCSs0m7a1yXJIniVU1MBljueNNu4tNYibDrgN32QWdvrpTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGI9KwuL99W3Flg1l+2fwjTbCBRIyucVPFmK87rpWaccAiEAmuBPOFHz5yjPAHfuNU/fxf7L6c208B5X+HFBxjP+FYI="}]}}},"readme":"# turf-overlaps\n\nfind whether spatial features overlap\n\n\n### `overlap(poly1, poly2)`\n\nTakes two Linestring, Polygon or MultiPolygon features and finds whether they overlap.\n\n\n### Parameters\n\n| parameter | type    | description        |\n| --------- | ------- | ------------------ |\n| `poly1`   | Feature | the first Feature, containing LineString, Polygon or MultiPolygon geometry  |\n| `poly2`   | Feature | the second Feature, containing LineString, Polygon or MultiPolygon geometry |\n\n\n### Example\n\n```js\nvar poly1 = turf.polygon([[\n  [0, 0],\n  [0, 2],\n  [2, 2],\n  [2, 0],\n  [0, 0]\n]]);\n\nvar poly2 = turf.polygon([[\n  [1, 1],\n  [1, 3],\n  [3, 3],\n  [3, 1],\n  [1, 1]\n]]);\n\nvar overlapping = overlaps(poly1, poly2);\n\n// true\n```\n\n## Installation\n\n```sh\n$ npm install --save turf-overlaps\n```\n\n## Usage\n\n```js\noverlaps = require('turf-overlaps');\n\nvar is_overlapping = overlap(poly1, poly2);\n```\n\n\n## Tests\n\n```sh\n$ npm test\n```\n\n## Todo\n\n- Add tests for MultiPolygon\n- Add tests for testing overlaps for non-homogenous types (LineString vs Polygon, etc)\n","maintainers":[{"name":"tcql","email":"tim.channell@gmail.com"}],"time":{"modified":"2022-06-27T23:30:40.372Z","created":"2015-01-31T18:54:31.928Z","1.0.0":"2015-01-31T18:54:31.928Z","1.0.1":"2015-01-31T18:56:05.284Z","1.0.2":"2015-01-31T19:42:09.963Z","1.0.3":"2015-01-31T19:49:28.943Z"},"homepage":"https://github.com/tchannel/turf-overlaps","keywords":["turf","gis","overlap"],"repository":{"type":"git","url":"git://github.com/tchannel/turf-overlaps.git"},"author":{"name":"Tim Channell"},"bugs":{"url":"https://github.com/tchannel/turf-overlaps/issues"},"license":"ISC","readmeFilename":"README.md"}