1.0.1 • Published 8 years ago

random-geojson v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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.