@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
6 lines (5 loc) • 304 B
TypeScript
import { Feature, MultiPolygon, Polygon } from "geojson";
/**
* If feature is a MultiPolygon, scans and returns the polygon with the largest area.
*/
export declare function biggestPolygon(feature: Feature<Polygon | MultiPolygon>): Feature<Polygon | MultiPolygon, import("geojson").GeoJsonProperties>;