randgeo-package: Random WKT or GeoJSON

Description Details Package API Author(s)

Description

randgeo generates random points and shapes in GeoJSON and WKT formats for use in examples, teaching, or statistical applications.

Details

Points and shapes are generated in the long/lat coordinate system and with appropriate spherical geometry; random points are distributed evenly across the globe, and random shapes are sized according to a maximum great-circle distance from the center of the shape.

randgeo was adapted from https://github.com/tmcw/geojson-random to have a pure R implementation without any dependencies as well as appropriate geometry. Data generated by randgeo may be processed or displayed of with packages such as sf, wicket, geojson, wellknown, geojsonio, or lawn.

Package API

Author(s)

Scott Chamberlain (myrmecocystus@gmail.com)

Noam Ross (noam.ross@gmail.com)


randgeo documentation built on May 2, 2019, 5:15 a.m.