{"_id":"geohash-poly","_rev":"31-62a26e9052294f9445ec3db14219ca38","name":"geohash-poly","description":"Transform a GeoJSON Polygon or MultiPolygon to a list of geohashes that form it.","dist-tags":{"latest":"0.6.0"},"versions":{"0.0.1":{"name":"geohash-poly","version":"0.0.1","description":"Transform a GeoJSON Polygon or MultiPolygon to a list of geohashes that form it.","main":"index.js","repository":{"type":"git","url":"http://github.com/derrickpelletier/geohash-poly.git"},"author":{"name":"Derrick Pelletier","email":"derrick@dpelletier.com","url":"http://dpelletier.com"},"license":"MIT","dependencies":{"ngeohash":"~0.2.0","point-in-polygon":"0.0.0"},"bugs":{"url":"https://github.com/derrickpelletier/geohash-poly/issues"},"_id":"geohash-poly@0.0.1","dist":{"shasum":"d8e72fd8a10e15e3ca0cff333512cca51f9afbc4","tarball":"https://registry.npmjs.org/geohash-poly/-/geohash-poly-0.0.1.tgz","integrity":"sha512-94WLU0EwjO62TodngGCgammBEA0JhpEtAGm7MkRkGjGdtsUKhKF9ubSA0FivwURDVZGphIlOkkzvijaXeIdMtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGNr8eTlodoSbHfRP+uzgUp/mohkQFAPZPTw+kaxEdCIAiA/VEHKqSGbKRGx3OO2uoxhbGzdbXxxHjGKkreNHOhowA=="}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"derrickpelletier","email":"derrick@dpelletier.com"},"maintainers":[{"name":"derrickpelletier","email":"derrick@dpelletier.com"}],"directories":{}},"0.0.2":{"name":"geohash-poly","version":"0.0.2","description":"Transform a GeoJSON Polygon or MultiPolygon to a list of geohashes that form it.","main":"index.js","repository":{"type":"git","url":"http://github.com/derrickpelletier/geohash-poly.git"},"author":{"name":"Derrick Pelletier","email":"derrick@dpelletier.com","url":"http://dpelletier.com"},"license":"MIT","dependencies":{"ngeohash":"~0.2.0","point-in-polygon":"0.0.0"},"bugs":{"url":"https://github.com/derrickpelletier/geohash-poly/issues"},"_id":"geohash-poly@0.0.2","dist":{"shasum":"b799f094a7f46c52af9ef88ff2a72d7fbced6e63","tarball":"https://registry.npmjs.org/geohash-poly/-/geohash-poly-0.0.2.tgz","integrity":"sha512-e0Ra+EwsktQzTrKqJNSEcb4ZImExaZVumhTy8FtgM7rZdoa0NWe3pC9zEVRc4ygE02lPx5NHvhE83k78x9Zmxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYCyWIaIYyTQr7zKqYcHXsgs6whFMlG6zUJnHD5aiOfQIhAIDMfiFgkaCUi4EeRkvupMgXS/xypUTBIdIK4g8WgTAj"}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"derrickpelletier","email":"derrick@dpelletier.com"},"maintainers":[{"name":"derrickpelletier","email":"derrick@dpelletier.com"}],"directories":{}},"0.1.0":{"name":"geohash-poly","version":"0.1.0","description":"Transform a GeoJSON Polygon or MultiPolygon to a list of geohashes that form it.","main":"index.js","repository":{"type":"git","url":"http://github.com/derrickpelletier/geohash-poly.git"},"author":{"name":"Derrick Pelletier","email":"derrick@dpelletier.com","url":"http://dpelletier.com"},"license":"MIT","dependencies":{"ngeohash":"~0.2.0","point-in-polygon":"0.0.0"},"devDependencies":{"through2":"~0.4.0"},"bugs":{"url":"https://github.com/derrickpelletier/geohash-poly/issues"},"_id":"geohash-poly@0.1.0","dist":{"shasum":"af7c1df8173892cb535310bc31a12f4aeb3aff9b","tarball":"https://registry.npmjs.org/geohash-poly/-/geohash-poly-0.1.0.tgz","integrity":"sha512-QquyMvNEXa2z0DYQHqE6/RxX7gfob7+2w8mzpOBeU9osc1TxTt+qgIgX4pN9U0ity+HANiB6VWgkB1nug77LbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFEOTpzOC7RUVN0+1IoHLsJCczdtbBs0syHF2qlZaVDtAiAkvHiYOMCs3mO4C1zcZ+rRADuw7hxUK8Nohn3rSok/lQ=="}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"derrickpelletier","email":"derrick@dpelletier.com"},"maintainers":[{"name":"derrickpelletier","email":"derrick@dpelletier.com"}],"directories":{}},"0.1.2":{"name":"geohash-poly","version":"0.1.2","description":"Transform a GeoJSON Polygon or MultiPolygon to a list of geohashes that form it.","main":"index.js","repository":{"type":"git","url":"http://github.com/derrickpelletier/geohash-poly.git"},"author":{"name":"Derrick Pelletier","email":"derrick@dpelletier.com","url":"http://dpelletier.com"},"license":"MIT","dependencies":{"ngeohash":"~0.2.0","point-in-polygon":"0.0.0"},"devDependencies":{"through2":"~0.4.0"},"bugs":{"url":"https://github.com/derrickpelletier/geohash-poly/issues"},"_id":"geohash-poly@0.1.2","dist":{"shasum":"e449a419361bc3b7e468673982fe165b827923e8","tarball":"https://registry.npmjs.org/geohash-poly/-/geohash-poly-0.1.2.tgz","integrity":"sha512-A+uh93l/fT7JqDWChULDCoafR+W0D/eOfsPXtxazENZp9AbuRO+9R3GG59b4ry+pJHSyYnQR0PaFY+Vf85IJHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAF8PP25SfwDc/RwSZ1/jaM9ttBSsyZPC1ke8MS8nw3IAiBq1c/nnLYTijc8JWx5+wmEg/Um1c3R9xExanxv0LP+kQ=="}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"derrickpelletier","email":"derrick@dpelletier.com"},"maintainers":[{"name":"derrickpelletier","email":"derrick@dpelletier.com"}],"directories":{}},"0.2.0":{"name":"geohash-poly","version":"0.2.0","description":"Transform a GeoJSON Polygon or MultiPolygon to a list of geohashes that form it.","main":"index.js","repository":{"type":"git","url":"http://github.com/derrickpelletier/geohash-poly.git"},"author":{"name":"Derrick Pelletier","email":"derrick@dpelletier.com","url":"http://dpelletier.com"},"license":"MIT","dependencies":{"ngeohash":"~0.2.0","point-in-polygon":"0.0.0","turf":"0.0.119","async":"~0.2.10","through2":"~0.4.0"},"bugs":{"url":"https://github.com/derrickpelletier/geohash-poly/issues"},"_id":"geohash-poly@0.2.0","dist":{"shasum":"f1de5810cc14a9288646841f4dbcfb7d7a7d0031","tarball":"https://registry.npmjs.org/geohash-poly/-/geohash-poly-0.2.0.tgz","integrity":"sha512-FXvHUi641IrUDyk+Y68oejFJNecukz8tYWioBC0vrKTgXk95gfWqCTDoc1G55nBwbAi5r+E7UeW5QYErbg6DTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBNjfAh04qatN1OHPvBShVgRsHHygbc4z7bytzjoZWGAAiEAroFGzG1EozGZUS/mL0RwQ5ddR2sICbO+8ZM1JQv5etw="}]},"_from":".","_npmVersion":"1.2.24","_npmUser":{"name":"derrickpelletier","email":"derrick@dpelletier.com"},"maintainers":[{"name":"derrickpelletier","email":"derrick@dpelletier.com"}],"directories":{}},"0.2.4":{"name":"geohash-poly","version":"0.2.4","description":"Transform a GeoJSON Polygon or MultiPolygon to a list of geohashes that form it.","main":"index.js","repository":{"type":"git","url":"http://github.com/derrickpelletier/geohash-poly.git"},"author":{"name":"Derrick Pelletier","email":"derrick@dpelletier.com","url":"http://dpelletier.com"},"license":"MIT","dependencies":{"ngeohash":"~0.2.0","point-in-polygon":"0.0.0","turf":"0.0.119","async":"~0.2.10","through2":"~0.4.0"},"devDependencies":{"should":"~3.1.3","mocha":"~1.17.1","ldjson-stream":"0.0.1","joe":"~1.4.0","joe-reporter-console":"~1.2.1"},"bugs":{"url":"https://github.com/derrickpelletier/geohash-poly/issues"},"homepage":"https://github.com/derrickpelletier/geohash-poly","_id":"geohash-poly@0.2.4","dist":{"shasum":"ec3500122627998b94ce244ccd0544bdf6878df0","tarball":"https://registry.npmjs.org/geohash-poly/-/geohash-poly-0.2.4.tgz","integrity":"sha512-tjS+/LJZXorUWOziU4sAK4g5Wm8RfJrafgsoGBJ+TWvuuD0W84+J2kgpuIczW73r/se/SmQh1BEVna1GkYW3fQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDHCMmVDj0ApY5s+ZEhYwJm5hy5Xc8ApBmX9ocqakwchAiBp3Vu6olH1quaUVTX8IZHjOqhOG02cuhdlCiMOYtGD4Q=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"derrickpelletier","email":"derrick@dpelletier.com"},"maintainers":[{"name":"derrickpelletier","email":"derrick@dpelletier.com"}],"directories":{}},"0.3.0":{"name":"geohash-poly","version":"0.3.0","description":"Transform a GeoJSON Polygon or MultiPolygon to a list of geohashes that form it.","main":"index.js","repository":{"type":"git","url":"http://github.com/derrickpelletier/geohash-poly.git"},"author":{"name":"Derrick Pelletier","email":"derrick@dpelletier.com","url":"http://dpelletier.com"},"license":"MIT","dependencies":{"ngeohash":"~0.2.0","point-in-polygon":"0.0.0","turf":"0.0.119","async":"~0.2.10","through2":"~0.4.0"},"devDependencies":{"should":"~3.1.3","mocha":"~1.17.1","ldjson-stream":"0.0.1","joe":"~1.4.0","joe-reporter-console":"~1.2.1"},"bugs":{"url":"https://github.com/derrickpelletier/geohash-poly/issues"},"homepage":"https://github.com/derrickpelletier/geohash-poly","_id":"geohash-poly@0.3.0","dist":{"shasum":"e31c50b40f0f997cb8068e192c548786993179d0","tarball":"https://registry.npmjs.org/geohash-poly/-/geohash-poly-0.3.0.tgz","integrity":"sha512-vISAR6GlzE1DEUfOw2QK8sevk0WERtIlLCxJ4spYT4C9KYyrxDAg/LdQy4+IvT8xOYljsCdZVu6pjQu2vDlxDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAU76+o+/p3RT0clz29NjsA1qB91jzHEnT75SliybQRWAiARu9FquJZdvOj+IxYREfi7Z4kjieyK0IBm7L65Fbmm5g=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"derrickpelletier","email":"derrick@dpelletier.com"},"maintainers":[{"name":"derrickpelletier","email":"derrick@dpelletier.com"}],"directories":{}},"0.4.0":{"name":"geohash-poly","version":"0.4.0","description":"Transform a GeoJSON Polygon or MultiPolygon to a list of geohashes that form it.","main":"index.js","repository":{"type":"git","url":"http://github.com/derrickpelletier/geohash-poly.git"},"author":{"name":"Derrick Pelletier","email":"derrick@dpelletier.com","url":"http://dpelletier.com"},"license":"MIT","dependencies":{"ngeohash":"~0.2.0","point-in-polygon":"0.0.0","turf":"0.0.119","async":"~0.2.10","through2":"~0.4.0","geojson-area":"^0.1.0"},"devDependencies":{"should":"~3.1.3","mocha":"~1.17.1","ldjson-stream":"0.0.1","joe":"~1.4.0","joe-reporter-console":"~1.2.1"},"bugs":{"url":"https://github.com/derrickpelletier/geohash-poly/issues"},"homepage":"https://github.com/derrickpelletier/geohash-poly","_id":"geohash-poly@0.4.0","dist":{"shasum":"1b24d31550eb4dcd517a83d6ab532e4f21be4d64","tarball":"https://registry.npmjs.org/geohash-poly/-/geohash-poly-0.4.0.tgz","integrity":"sha512-kSAKJAqjmxn8gXFxLM4C8OMMUDVM8dGw2yhws1g5bzzxL7TiY11z9E2agyvkWxR/yn/CdkE43clFsdRBUL/oiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFxL/+fL/j+V7FfJpix7mI1nla4G3LQft9J/LJ/BHroiAiA+jmG9PZYQOj9AWR+ObjpJ4oHvExu//iP+UCPTD2iYXg=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"derrickpelletier","email":"derrick@dpelletier.com"},"maintainers":[{"name":"derrickpelletier","email":"derrick@dpelletier.com"}],"directories":{}},"0.4.1":{"name":"geohash-poly","version":"0.4.1","description":"Transform a GeoJSON Polygon or MultiPolygon to a list of geohashes that form it.","main":"index.js","bin":{"geohash-poly":"./bin/cli.js"},"repository":{"type":"git","url":"http://github.com/derrickpelletier/geohash-poly.git"},"author":{"name":"Derrick Pelletier","email":"derrick@dpelletier.com","url":"http://dpelletier.com"},"license":"MIT","dependencies":{"async":"~0.2.10","geojson-area":"^0.1.0","ngeohash":"~0.2.0","point-in-polygon":"0.0.0","rc":"^0.6.0","through2":"~0.4.0","turf":"0.0.119"},"devDependencies":{"should":"~3.1.3","mocha":"~1.17.1","ldjson-stream":"0.0.1","joe":"~1.4.0","joe-reporter-console":"~1.2.1"},"gitHead":"013bc54b33316147934b41df24489630193e22e3","bugs":{"url":"https://github.com/derrickpelletier/geohash-poly/issues"},"homepage":"https://github.com/derrickpelletier/geohash-poly","_id":"geohash-poly@0.4.1","scripts":{},"_shasum":"668d914bda4b33e9463830b34da4c3234e18d40c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"derrickpelletier","email":"derrick@dpelletier.com"},"maintainers":[{"name":"derrickpelletier","email":"derrick@dpelletier.com"}],"dist":{"shasum":"668d914bda4b33e9463830b34da4c3234e18d40c","tarball":"https://registry.npmjs.org/geohash-poly/-/geohash-poly-0.4.1.tgz","integrity":"sha512-LuOCKJ9cSWweRx1nB6Xjksz7jjrJf4r/gjh+ydota2uMpb21Fvoq+AV6GcyFjYT1wd2r8eeVuf1JQbkNlDXoeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHtcSdRBASgsdU95HhM7sdvRrKvzhEvk/DP3Ht5CsM+QAiB4QwmInJKTGB/yS28FwkY1ReDZKltSXTG1RbaIvvo2iw=="}]},"directories":{}},"0.5.2":{"name":"geohash-poly","version":"0.5.2","description":"Transform a GeoJSON Polygon or MultiPolygon to a list of geohashes that form it.","main":"index.js","bin":{"geohash-poly":"./bin/cli.js"},"repository":{"type":"git","url":"http://github.com/derrickpelletier/geohash-poly.git"},"author":{"name":"Derrick Pelletier","email":"derrick@dpelletier.com","url":"http://dpelletier.com"},"license":"MIT","dependencies":{"async":"~0.2.10","geojson-area":"^0.1.0","ngeohash":"0.6.0","point-in-polygon":"0.0.0","rc":"^0.6.0","through2":"~0.4.0","turf-extent":"1.0.4","turf-featurecollection":"1.0.1","turf-intersect":"1.0.2","turf-polygon":"1.0.3"},"devDependencies":{"should":"~3.1.3","mocha":"~1.17.1","ldjson-stream":"0.0.1","joe":"~1.4.0","joe-reporter-console":"~1.2.1"},"bugs":{"url":"https://github.com/derrickpelletier/geohash-poly/issues"},"homepage":"https://github.com/derrickpelletier/geohash-poly","_id":"geohash-poly@0.5.2","dist":{"shasum":"9f0aff99a6eff09ea842f1a31c7579d1c0bdcdbb","tarball":"https://registry.npmjs.org/geohash-poly/-/geohash-poly-0.5.2.tgz","integrity":"sha512-pUzcn0mRcEp9InIpqWw7DKF75lTsCZh4QT2KT5T7s1/NFqEgLqyi55VvIhn/Tu+Ln41eJSb9ynwarGPeW8P53A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICAOPyPpvDHUocAk0alJ59bKY3jukcAyxHfSZB9Ni00PAiA/iazj6hus28b9StLvWbQ0Qgj5SPP2gNv0ioiHt/DwVw=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"derrickpelletier","email":"derrick@dpelletier.com"},"maintainers":[{"name":"derrickpelletier","email":"derrick@dpelletier.com"}],"directories":{}},"0.5.3":{"name":"geohash-poly","version":"0.5.3","description":"Transform a GeoJSON Polygon or MultiPolygon to a list of geohashes that form it.","main":"index.js","bin":{"geohash-poly":"./bin/cli.js"},"repository":{"type":"git","url":"http://github.com/derrickpelletier/geohash-poly.git"},"author":{"name":"Derrick Pelletier","email":"derrick@dpelletier.com","url":"http://dpelletier.com"},"license":"MIT","dependencies":{"async":"~0.2.10","geojson-area":"^0.1.0","ngeohash":"0.6.0","point-in-polygon":"0.0.0","rc":"^0.6.0","through2":"~0.4.0","turf-extent":"1.0.4","turf-featurecollection":"1.0.1","turf-intersect":"1.0.2","turf-polygon":"1.0.3"},"devDependencies":{"should":"~3.1.3","mocha":"~1.17.1","ldjson-stream":"0.0.1","joe":"~1.4.0","joe-reporter-console":"~1.2.1"},"bugs":{"url":"https://github.com/derrickpelletier/geohash-poly/issues"},"homepage":"https://github.com/derrickpelletier/geohash-poly","_id":"geohash-poly@0.5.3","dist":{"shasum":"0c4b3d97eebe972aec56f4a36c08aa0619089348","tarball":"https://registry.npmjs.org/geohash-poly/-/geohash-poly-0.5.3.tgz","integrity":"sha512-sO19H/hQaTwhrjV/WJ6by/L4QF9X2GSmZQlS47XyfMhyxNv9fDMi1cPuMdAGYAXB53Sm9CghncLpKsrgTBWQmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMwpCcEyi/W0wNpKN5sXw+9w9gUGJ/O4YU/MT6SIkxMwIhAOXp8470it6EN4Li07Aw5KsZkTs+gPdWdfi7Np9A5qoK"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"derrickpelletier","email":"derrick@dpelletier.com"},"maintainers":[{"name":"derrickpelletier","email":"derrick@dpelletier.com"}],"directories":{}},"0.6.0":{"name":"geohash-poly","version":"0.6.0","description":"Transform a GeoJSON Polygon or MultiPolygon to a list of geohashes that form it.","main":"index.js","bin":{"geohash-poly":"./bin/cli.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/derrickpelletier/geohash-poly.git"},"author":{"name":"Derrick Pelletier","email":"derrick@dpelletier.com","url":"http://dpelletier.com"},"license":"MIT","dependencies":{"async":"~0.2.10","geojson-area":"^0.1.0","ngeohash":"0.6.0","point-in-polygon":"0.0.0","rc":"^1.2.8","through2":"~0.4.0","turf-extent":"1.0.4","turf-featurecollection":"1.0.1","turf-intersect":"1.0.2","turf-polygon":"1.0.3"},"devDependencies":{"joe":"~1.4.0","joe-reporter-console":"~1.2.1","ldjson-stream":"0.0.1","mocha":"^5.2.0","should":"~3.1.3"},"gitHead":"0965a3b1035186895a3b5fa8121a1624dfb792d3","bugs":{"url":"https://github.com/derrickpelletier/geohash-poly/issues"},"homepage":"https://github.com/derrickpelletier/geohash-poly#readme","_id":"geohash-poly@0.6.0","_npmVersion":"6.4.1","_nodeVersion":"8.6.0","_npmUser":{"name":"derrickpelletier","email":"derrick@dpelletier.com"},"dist":{"integrity":"sha512-5iMufXt61EyIzyBjR7I4I5uv6t+oO8+IihrBH8nM1OtuEpVCE2ZSTqIwp0/zTz9zFoFwZJuHRkWOSf0ZF29FiQ==","shasum":"02ddac25e543e2160c0b5fb4e4b2215cccb9571a","tarball":"https://registry.npmjs.org/geohash-poly/-/geohash-poly-0.6.0.tgz","fileCount":11,"unpackedSize":245305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT+QsCRA9TVsSAnZWagAAsyoQAKQ9hetnzEsI1mdT8I6V\nEi81jM75FvthrBD4AKJ6ApHfPtcFsGgv9LBsHCssDXE+Ad+pyIse3Pnvrq9e\nKYb02D1iNrDBiOSzx8Y94HWcFTmJVo5jHGpX8dOxbg1OZH1IaSULrwTFP/S2\ntQTJL/4w3aCm0psyJWluNOyHLtYSBLWfBpWmJ3xqzzyqZsz2xoOY8LKvJotP\ndoPuzzRGl7azaujS+Me4Gok+q5HnmOK0DPAFl6t6vAgpthuw0L3SSXz/ypfx\nAwnOEKy39rA67xs1ZxTElpuQ/CNpe1oY1MMetAmi6/jQwEFqE2QuaEClEETt\nXqyRuXhacUWR4RGSRa1WBaRZHKc/+KrldCYBMIgPxIGAzXsXhFJg4UZQ8s/j\nvi6khf45Jz4jVLhWVHljXlmY/j5tLTYnME2434UP6xu4+QppJfY43q0F6gWE\nSyMV0WKK3jtU978IXE7C5Zwcd9f98Y0yV+LAch3aCKOq/s802b6TDQDXjxoM\nfRxzVF5Ugbhh4qTCpzy03F8d3nK7oQNVnDke/1YsFcouzBPabtkp92gYwNDa\n7SPImisf1pMid4DZyw30HI8otxJXuTSOUaZg1gjLgNw0FdhQXAw2XLn3lzXp\nRM8DCfripjQvVB1Ep+kKc7eAQ/l9rA789Ced0j1sCPM8OIgsKW8sOD3UMYZm\n46+U\r\n=neYI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4OWOMyP+e1SZ0WlK6mdw0bhVIYsgTZcYlNMScPvSv0QIgAneLrgpYwQ82ZRhXlFIvcGiEVPlUqqyRjqiLlSzoTns="}]},"maintainers":[{"name":"derrickpelletier","email":"derrick@dpelletier.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/geohash-poly_0.6.0_1548739628118_0.6684552793147613"},"_hasShrinkwrap":false}},"readme":"# Geohash-poly\n\n`npm install geohash-poly`\n\nTransform a GeoJSON (Multi)Polygon to a list of geohashes that cover it.\n\nMethod used is pretty brute-force, but still relatively quick compared to alternative implementations if hash precision is not too granular. Creates an envelope around poly, and iterates over rows and columns, including relevant hashes with respect to `hashMode`.\n\n\n## Streaming\nHashes can be streamed. Each _read will generate a row of hashes into buffer, as some form of throttling. This allows massive polygons with high precision hashes to avoid memory constraint issues. If your polys have the potential to hit memory issues, use this method.\n\nIf you specify rowMode as true, such as `.stream({..., rowMode: true, ...})`, each chunk in the stream will be an array using streams2 objectMode.\n\n```javascript\n\nvar through2 = require('through2');\n\nvar polygon = [[[-122.350051, 47.702893 ], [-122.344774, 47.702877 ], [-122.344777, 47.70324 ], [-122.341982, 47.703234 ], [-122.341959, 47.701421 ], [-122.339749, 47.701416 ], [-122.339704, 47.69776 ], [-122.341913, 47.697797 ], [-122.341905, 47.697071 ], [-122.344576, 47.697084 ], [-122.344609, 47.697807 ], [-122.349999, 47.697822 ], [-122.350051, 47.702893 ]]];\n\nvar stream = geohashpoly.stream({\n\tcoords: polygon,\n\tprecision: 7,\n\trowMode: true\n});\n\nstream\n  .on('end', function () {\n    console.log(\"It's all over.\");\n  })\n  .pipe(through2(function (chunk, enc, callback) {\n    console.log(chunk.toString());\n    callback();\n  }));\n\n```\n\nResults in the hashes spit out line by line to the console.\n\n\n## Standard\nIf you just want your hashes out in an array, use this.\n```javascript\n\nvar polygon = [[[-122.350051, 47.702893 ], [-122.344774, 47.702877 ], [-122.344777, 47.70324 ], [-122.341982, 47.703234 ], [-122.341959, 47.701421 ], [-122.339749, 47.701416 ], [-122.339704, 47.69776 ], [-122.341913, 47.697797 ], [-122.341905, 47.697071 ], [-122.344576, 47.697084 ], [-122.344609, 47.697807 ], [-122.349999, 47.697822 ], [-122.350051, 47.702893 ]]];\n\ngeohashpoly({coords: polygon, precision: 7}, function (err, hashes) {\n\tconsole.log(hashes);\n});\n```\n\nResults in:\n```\n[ 'c22zrgg', 'c22zrgu', 'c22zrgv', 'c22zrgy', 'c22zrgz', 'c23p25b', 'c22zrge', 'c22zrgs', 'c22zrgt', 'c22zrgw', 'c22zrgx', 'c23p258', 'c23p259', 'c23p25d', 'c22zrg7', 'c22zrgk', 'c22zrgm', 'c22zrgq', 'c22zrgr', 'c23p252', 'c23p253', 'c23p256', 'c22zrg5', 'c22zrgh', 'c22zrgj', 'c22zrgn', 'c22zrgp', 'c23p250', 'c23p251', 'c23p254' ]\n```\n\nAlso, integer geohashes are available.\n```javascript\n\ngeohashpoly({coords: polygon, precision: 34, integerMode: true}, function (err, hashes) {\n    console.log(hashes);\n});\n```\n\nResults in:\n```\n[ 5940702973,\n  5940702975,\n  5941052501,\n  5940702972,\n  5940702974,\n  5941052500,\n  5940702969,\n  5940702971,\n  5941052497,\n  5940702968,\n  5940702970,\n  5941052496 ]\n```\n\n## Options\n\n- `coords`: coordinate array for the geojson shape. **required**\n- `precision`: geohash precision (eg. \"gfjf1\" is a precision 5 geohash).\n- `rowMode`: allows for processing of geohashes by row.\n- `hashMode`: defines filtering of returned geohashes. See below.\n- `integerMode`: (true/false) Outputs integer versions of geohashes. Default precision for integer mode is 32 bits. \n\n\n## hashMode\n\nThe `hashMode` option can be used to specify which hashes to return. Defaults to `'inside'`.\n\n- `'inside'`: return hashes whose center points fall inside the shape.\n- `'extent'`: return all hashes which make up the bounding box of the shape.\n- `'intersect'`: return all hashes that intersect with the shape. Use the `'threshold'` option to specify a percentage of least coverage. See `examples/streaming.js`.\n\n# Command Line\n\nYou can also install as a command line util via\n\n`npm install geohash-poly -g`\n\n## command line usage\n\nHere are some examples of running it:\n\n```bash\ngeohash-poly --csv=true --precision=9 --geocode=true  \"[[[-122.350051, 47.702893 ], [-122.344774, 47.702877 ], [-122.344777, 47.70324 ], [-122.341982, 47.703234 ], [-122.341959, 47.701421 ], [-122.339749, 47.701416 ], [-122.339704, 47.69776 ], [-122.341913, 47.697797 ], [-122.341905, 47.697071 ], [-122.344576, 47.697084 ], [-122.344609, 47.697807 ], [-122.349999, 47.697822 ], [-122.350051, 47.702893 ]]]\"\n```\n\nWhere additional command line switches are\n\n - --csv=true output csv. default output is ndjson\n - --geocode=true to add the lat and lon to the output\n\nAll of the standard options are supported as well.\n\n\n\n","maintainers":[{"name":"derrickpelletier","email":"derrick@dpelletier.com"}],"time":{"modified":"2022-06-18T07:35:58.475Z","created":"2014-01-18T18:45:06.918Z","0.0.1":"2014-01-18T18:45:08.054Z","0.0.2":"2014-01-18T18:50:19.666Z","0.1.0":"2014-02-14T00:11:45.719Z","0.1.2":"2014-02-18T23:11:48.864Z","0.2.0":"2014-03-02T19:38:54.477Z","0.2.4":"2014-03-13T22:55:06.527Z","0.3.0":"2014-03-28T22:58:33.400Z","0.4.0":"2014-04-01T21:42:15.661Z","0.4.1":"2015-02-09T18:45:33.824Z","0.5.2":"2015-02-27T05:26:46.999Z","0.5.3":"2015-08-14T23:04:40.437Z","0.6.0":"2019-01-29T05:27:08.309Z"},"author":{"name":"Derrick Pelletier","email":"derrick@dpelletier.com","url":"http://dpelletier.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/derrickpelletier/geohash-poly.git"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/derrickpelletier/geohash-poly/issues"},"license":"MIT","homepage":"https://github.com/derrickpelletier/geohash-poly#readme"}