@tak-ps/node-cot
Version:
Lightweight JavaScript library for parsing and manipulating TAK messages
12 lines (11 loc) • 404 B
TypeScript
import type { Static } from '@sinclair/typebox';
import { Feature } from '../types/feature.js';
import { GeoJSONFeature } from '../types/geojson.js';
/**
* Given a generic GeoJSON Feature, convert it to a CoT Featurt
*
* @param {Object} feature GeoJSON Feature
*
* @return {CoT}
*/
export declare function normalize_geojson(feature: Static<typeof GeoJSONFeature>): Promise<Static<typeof Feature>>;