@tak-ps/node-cot
Version:
Lightweight JavaScript library for parsing and manipulating TAK messages
13 lines (12 loc) • 413 B
TypeScript
import type { Static } from '@sinclair/typebox';
import { InputFeature } from '../types/feature.js';
import CoT from '../cot.js';
import type { CoTOptions } from '../cot.js';
/**
* Return an CoT Message given a GeoJSON Feature
*
* @param {Object} feature GeoJSON Point Feature
*
* @return {CoT}
*/
export declare function from_geojson(feature: Static<typeof InputFeature>, opts?: CoTOptions): Promise<CoT>;