random-geojson

1.0.1 • Public • Published

random-geojson

Generate a random geojson.

MIT License

build:? coverage:?

Install

$ npm install --save random-geojson 

Usage

var randomGeoJson = require('random-geojson');
 
// API
// - randomGeoJson([options]);
 
// options
// - fixed
 
randomGeoJson();
// => "-29.52974, 24.52815, 3578.76351"

By default includes 5 fixed digits after decimal, can specify otherwise:

randomGeoJson({ fixed: 2 })
// => "-49.16, 68.81, 239.58"

Related

Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please create an issue.

Package Sidebar

Install

npm i random-geojson

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • bubkoo