The KML Sender application provides an example of how the Sit(x) bridge adapter feature can be used. In this application, KML files are read from a directory. The contents of each KML file are crafted into Cursor-on-Target (CoT) XML messages and are sent to the Sit(x) bridge adapter.
You will need to s a .env
file. The NodeJS process relies on a .env
file to control the following parameters:
- ACCESSKEY The access key for the SitX bridge adapter.
- SECRETKEY The secret key for the SitX bridge adapter.
- SCOPE The scope for the SitX bridge adapter.
- STREAMING The WebSocket streaming URL for the SitX bridge adapter.
The application can be compiled and launched by first installing NodeJS, then from the CLI:
- Create the
.env
file npm install
npm start
Copyright (©) PAR Government Systems Corporation. All rights reserved.