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

28 lines (25 loc) 725 B
import { Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, Feature, FeatureCollection, AllGeoJSON, } from "@turf/helpers"; /** * http://turfjs.org/docs/#flatten */ declare function flatten<T extends Point | MultiPoint>( geojson: Feature<T> | FeatureCollection<T> | T ): FeatureCollection<Point>; declare function flatten<T extends LineString | MultiLineString>( geojson: Feature<T> | FeatureCollection<T> | T ): FeatureCollection<LineString>; declare function flatten<T extends Polygon | MultiPolygon>( geojson: Feature<T> | FeatureCollection<T> | T ): FeatureCollection<Polygon>; declare function flatten(geojson: AllGeoJSON): FeatureCollection<any>; export default flatten;