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
22 lines (19 loc) • 543 B
text/typescript
import { LineString, MultiLineString, Feature, FeatureCollection, GeometryCollection } from 'geojson';
import { Units } from '@turf/helpers';
/**
* http://turfjs.org/docs/#lineChunk
*/
declare function lineChunk<T extends LineString | MultiLineString>(
geojson:
| Feature<T>
| FeatureCollection<T>
| T
| GeometryCollection
| Feature<GeometryCollection>,
segmentLength: number,
options?: {
units?: Units;
reverse?: boolean;
}
): FeatureCollection<LineString>;
export { lineChunk as default, lineChunk };