@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
10 lines (9 loc) • 374 B
TypeScript
/**
* Cleans geojson coordinates to be within the bounds of the world [-90, -180, 90, 180], so that they don't wrap off the end, and can be split
* @param geojson
* @param options
* @param options.mutate whether or not to mutate the coordinates in place, defaults to false
*/
export declare function cleanCoords(geojson: any, options?: {
mutate?: boolean;
}): any;