{"name":"geojson-random","version":"0.2.0","description":"generate random geojson features","main":"index.js","bin":{"geojson-random":"geojson-random"},"scripts":{"test":"tape test.js"},"repository":{"type":"git","url":"git@github.com:tmcw/geojson-random.git"},"keywords":["geojson","random"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/tmcw/geojson-random/issues"},"homepage":"https://github.com/tmcw/geojson-random","devDependencies":{"tape":"~2.13.4"},"gitHead":"58660eafca0373c0fa760900894a6346a0f8d5c8","_id":"geojson-random@0.2.0","_shasum":"99042e5d6f1e31b9a18394d090aeeda50636d906","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"},{"name":"lxbarth","email":"alex@developmentseed.org"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"mapbox","email":"accounts@mapbox.com"},{"name":"willwhite","email":"will@mapbox.com"},{"name":"springmeyer","email":"dane@mapbox.com"},{"name":"kkaefer","email":"kkaefer@gmail.com"},{"name":"dthompson","email":"dthompson@gmail.com"},{"name":"yhahn","email":"young@developmentseed.org"}],"dist":{"shasum":"99042e5d6f1e31b9a18394d090aeeda50636d906","tarball":"http://registry-npm.ywwl.com/geojson-random/download/geojson-random-0.2.0.tgz","integrity":"sha512-72UXUAudXr/Gl/geXygqKG/YcrnCWdpQSckXFUc2+bHh2U797L1QgOqZb5tay7P5LTDixYg87w9g4tfDsMunqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlb+M4D0NuvDvXN8i7ALBB6YbSnBUOQRU81k3jZ2CBqwIhAJSi2relZ4XMHrE0Pm70X7cMaRzMXHsyT5Z8pKqrM1jt"}],"size":2668,"noattachment":false,"key":"/geojson-random/-/geojson-random-0.2.0.tgz"},"directories":{},"readme":"# geojson-random\n\n[![CircleCI](https://circleci.com/gh/node-geojson/geojson-random.svg?style=svg)](https://circleci.com/gh/node-geojson/geojson-random)\n\nGenerate random [GeoJSON](http://geojson.org/) features.\n\nUsable in [node.js](http://nodejs.org/) and in browsers with [browserify](http://browserify.org/).\n\n    npm install -g geojson-random\n    geojson-random\n\n    # special fast-mode for points\n    geojson-random 10000 point-stream\n\n## api\n\n```js\nvar random = require('geojson-random');\n```\n\n### `random.point(count, bbox)`\n\nReturn `count` points wrapped in a FeatureCollection.\n\nAn optional `bbox` parameter should be an array of numbers representing\na [bbox](http://geojson.org/geojson-spec.html#bounding-boxes) in WSEN order,\nand if given, the point will reside within its bounds.\n\n### `random.position(bbox?)`\n\nReturn a single GeoJSON [Position](http://geojson.org/geojson-spec.html#positions)\nas a 2-element array of numbers in longitude, latitude order.\n\nAn optional `bbox` parameter should be an array of numbers representing\na [bbox](http://geojson.org/geojson-spec.html#bounding-boxes) in WSEN order,\nand if given, the position will reside within its bounds.\n\n### `random.polygon(count, num_vertices, max_radial_length, bbox)`\n\nReturn `count` polygons wrapped in a FeatureCollection.\n\n* `num_vertices` is default `10` and is how many coordinates each Polygon\n  will contain.\n* `max_radial_length` is the maximum number of decimal degrees latitude\n  or longitude that a vertex can reach out of the center of the Polygon.\n  Default is `10`.\n* `bbox` (Optional) Bounding box in [minX, minY, maxX, maxY] order.\n\n### `random.lineString(count, num_vertices, max_length, max_rotation, bbox)`\n\nReturn `count` line strings wrapped in a FeatureCollection.\n\n* `num_vertices` is default `10` and is how many coordinates each LineString\n  will contain.\n* `max_length` is the maximum number of decimal degrees that a vertex can be\n  from its predecessor\n  Default is `0.0001`.\n* `max_rotation` is the maximum number of radians that a line segment can turn\n  from the previous segment.\n  Default is `Math.PI / 8`.\n* `bbox` (Optional) Bounding box in [minX, minY, maxX, maxY] order. This\n  parameter is only applied to the starting point of the line.\n","publish_time":1421348916431,"_cnpm_publish_time":1421348916431,"dist-tags":{"latest":"0.5.0"}}