UNPKG

node-red-contrib-tak-registration

Version:

A Node-RED node to register to TAK and to help wrap files as datapackages to send to TAK

16 lines (15 loc) 784 B
import { Feature, FeatureCollection, LineString, MultiLineString, MultiPolygon, Polygon } from "@turf/helpers"; /** * Transform function: attempts to dissolve geojson objects where possible * [GeoJSON] -> GeoJSON geometry * * @private * @param {FeatureCollection<LineString|MultiLineString|Polygon|MultiPolygon>} geojson Features to dissolved * @param {Object} [options={}] Optional parameters * @param {boolean} [options.mutate=false] Prevent input mutation * @returns {Feature<MultiLineString|MultiPolygon>} Dissolved Features */ declare function dissolve(geojson: FeatureCollection<LineString | MultiLineString | Polygon | MultiPolygon>, options?: { mutate?: boolean; }): Feature<LineString | MultiLineString | Polygon | MultiPolygon> | null; export default dissolve;