|
CoT2Klv Converter Version 1.0
|
Cursor on Target (CoT) developed by The Mitre Corporation defines location based data. CoT uses XML (eXtendable Markup Language) to represent "what, where and when" information. CoT serves as a communication method for Department of Defense (DoD) systems to pass time sensitive position data. The CoT messages provide a description of an object (what), the time an event occurs (when), and the position of an event (where). Unmanned Air Systems (UAS) usually use Datalink Local Data Set(LDS) or Universal Data Set (UDS) for their platforms. In order to facilitate interoperability between different systems, MISB EG 0805 defines a recommended conversionsfrom EG 0104 and EG 0601 KLV metadata tags to two basic CoT schema messages (PlatformPosition and Sensor Point-of-Interest (SPOI). CoT2KlvConvLib library provides a conversion between CoT, the XML based information and UAS LDS/UDS MISB EG0601.4 (released 4 March 2010) specification. The resulted metadata is converted according to the MISB 0601 standard and encoded into KLV format.
Main features:
MISB EG 0805 Engineering Guideline defines the Motion Imagery Standards Board (MISB) metadata items used for fields in Cursor on Target (CoT) Situational Awareness (SI) messages. This library converts Platform Position and Sensor Point of Interest (SPI) metadata into equivalent MISB-standard Key Length Value (KLV) data packets.
CoT2Klv SDK provides examples with source code to help you get started using the converter. Here is a brief example of using the CoT2Klv for some basic tasks.
Let's say that you have to trancode CoT message like this (Sample CoT Message) into KLV data packet.
#include <ICoT2KlvConv.h>
ICoT2KlvConv* pCoT2KlvConv = CreateCoT2KlvConv(ICoT2KlvConv::LDS);
pCoT2KlvConv->SetSecurityMetadata((const unsigned char*)secSampleData, sizeof( secSampleData));
if(pCoT2KlvConv->Process(CoTBuf.c_str(), klv_buf, len)) { // Do something with the encoded KLV buffer... writeFile(KlvFile, klv_buf, len); } else cout << "Error parsing CoT buffer" << endl;
if(pCoT2KlvConv) delete pCoT2KlvConv;
For more information please see some Sample Code
Please see ICoT2KlvConv for more details.
CoT - Cursor-on-Target
EG - Engineering Guideline
EG - Engineering Guideline
FPS - Frames per Second
KLV - Key-Length-Value
MI - Motion Imagery
SI - Situational Awareness
MISP - Motion Imagery Standards Profile
RP - Recommended Practice
SMPTE - Society of Motion Picture and Television Engineers
UTC - Coordinated Universal Time
UUID - Universally Unique Identifier
XML - Extensible Markup Language