{"name":"turf-within","version":"3.0.0-canary.7879bf6c","description":"turf within module","main":"index.js","scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git+https://github.com/Turfjs/turf-within.git"},"keywords":["geojson","within","point","polygon","featurecollection"],"author":{"name":"morganherlocker"},"license":"MIT","bugs":{"url":"https://github.com/Turfjs/turf-within/issues"},"homepage":"https://github.com/Turfjs/turf-within","devDependencies":{"benchmark":"^1.0.0","tape":"^3.5.0","turf-helpers":"^3.0.0-canary.7879bf6c"},"dependencies":{"turf-inside":"^3.0.0-canary.7879bf6c","turf-helpers":"^3.0.0-canary.7879bf6c"},"_id":"turf-within@3.0.0-canary.7879bf6c","_shasum":"62d97b07b44d6d78ee3ea9caa738ee19202cdb88","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.0","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"dist":{"shasum":"62d97b07b44d6d78ee3ea9caa738ee19202cdb88","tarball":"http://registry-npm.ywwl.com/turf-within/download/turf-within-3.0.0-canary.7879bf6c.tgz","integrity":"sha512-C+DDetpBij2aN3GUyoMxERRhwlYLNXx3gFzsy930Eu6aDmc8k1p2X/XE6O7F2JCCscmux4PjgtUxyqvLew9fQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG1FybXz2+cs2ueLAGpzkQ34BEAf4HU0THe2nmQ4VfaHAiA/aPP36j47+PiPJDZnli6zXPEJajU5QkE+Hj0wGaPptQ=="}],"size":4766,"noattachment":false,"key":"/turf-within/-/turf-within-3.0.0-canary.7879bf6c.tgz"},"maintainers":[{"name":"cspanring","email":"cspanring@gmail.com"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"},{"name":"jseppi","email":"james.seppi@gmail.com"},{"name":"jvrousseau","email":"jv.rousseau@outlook.com"},{"name":"lyzidiamond","email":"lyzi@mapbox.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"tmcw","email":"tom@macwright.org"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/turf-within-3.0.0-canary.7879bf6c.tgz_1463430951992_0.6016430447343737"},"directories":{},"readme":"# turf-within\n\n[![build status](https://secure.travis-ci.org/Turfjs/turf-within.png)](http://travis-ci.org/Turfjs/turf-within)\n\nturf within module\n\n\n### `turf.within(points, polygons)`\n\nReturns a FeatureCollection of points representing all points that fall\nwithin a collection of polygons.\n\n\n### Parameters\n\n| parameter  | type              | description |\n| ---------- | ----------------- | ----------- |\n| `points`   | FeatureCollection |             |\n| `polygons` | FeatureCollection |             |\n\n\n### Example\n\n```js\nvar searchWithin = turf.featurecollection([\n  turf.polygon([\n    [[-46.653,-23.543],\n     [-46.634,-23.5346],\n     [-46.613,-23.543],\n     [-46.614,-23.559],\n     [-46.631,-23.567],\n     [-46.653,-23.560],\n     [-46.653,-23.543]]\n  ])\n]);\nvar points = turf.featurecollection([\n  turf.point([-46.6318, -23.5523]),\n  turf.point([-46.6246, -23.5325]),\n  turf.point([-46.6062, -23.5513]),\n  turf.point([-46.663, -23.554]),\n  turf.point([-46.643, -23.557])]);\nvar ptsWithin = turf.within(points, searchWithin);\n//=points\n//=searchWithin\n//=ptsWithin\n```\n\n## Installation\n\nRequires [nodejs](http://nodejs.org/).\n\n```sh\n$ npm install turf-within\n```\n\n## Tests\n\n```sh\n$ npm test\n```\n\n","publish_time":1463430954309,"_cnpm_publish_time":1463430954309,"dist-tags":{"canary":"3.0.7-canary.ae89c8b3","latest":"3.0.12"}}