geo-rand
This crate contains algorithms to generate random geometric shapes such as polygons.
This code is a Rust port of this JS code.
Example
The following example shows how to compute a random set of polygons.
The rand
method is provided by the GeoRand
trait which is implemented for some geo-types.
use SeedableRng;
use ;
let mut rng = seed_from_u64;
let polygons = rand;
GeoRandParameters
contains fields to customize output.