@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
11 lines (10 loc) • 455 B
TypeScript
import { BBox } from "geojson";
/**
* Generates random polygons within provided bounds. numPolygons defaults to 300, max_radial_length to 0.5
* Wrapper around @turf/random - https://turfjs.org/docs/#randomPolygon
*/
export declare const genRandomPolygons: (config: {
numPolygons?: number;
bounds: BBox;
max_radial_length?: number;
}) => import("geojson").FeatureCollection<import("geojson").Geometry, import("geojson").GeoJsonProperties>;