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

14 lines (12 loc) 296 B
import { Polygon, MultiPolygon, Feature, FeatureCollection, } from "@turf/helpers"; /** * http://turfjs.org/docs/#unkink-polygon */ export default function unkinkPolygon<T extends Polygon | MultiPolygon>( geojson: Feature<T> | FeatureCollection<T> | T ): FeatureCollection<Polygon>;