Git Product home page Git Product logo

spotcot's Introduction

spotcot - Spot Cursor-on-Target Gateway.

Screenshot of Spot CoT PLI Point in ATAK

The spotcot Spot Cursor-on-Target Gateway transforms Spot position messages into Cursor on Target (CoT) Position Location Information (PLI) Points for display on Situational Awareness (SA) applications such as the Android Team Awareness Kit (ATAK), WinTAK, RaptorX, et al. This allows partner agencies to track affiliated units without exposing existing networks, amongst other uses.

spotcot can be run as a foreground command line application, or can be run as a background service using a daemon like supervisor.

Usage of this gateway requires a Spot device with service.

IF YOU HAVE AN URGENT OPERATIONAL NEED: Email [email protected] or call/sms +1-415-598-8226

Wildland Firefighting

spotcot may also be of use in wildland firefighting, see Section 1114.d of the Dingell Act:

Location Systems for Wildland Firefighters.--
(1) In general.--Not later than 2 years after the date of
    enactment of this Act, subject to the availability of
    appropriations, the Secretaries, in coordination with State
    wildland firefighting agencies, shall jointly develop and
    operate a tracking system (referred to in this subsection as the
    ``system'') to remotely locate the positions of fire resources
    for use by wildland firefighters, including, at a minimum, any
    fire resources assigned to Federal type 1 wildland fire incident
    management teams.

Installation

To install from this source tree:

$ git checkout https://github.com/ampledata/spotcot.git
$ cd spotcot/
$ python setup.py install

To install from PyPI:

$ pip install spotcot

Setup

spotcot uses the Spot XML Feed feature to retrieve Spot location messages from the Spot API.

To enable the XML Feed feature:

  1. Login to your Spot account at: https://login.findmespot.com/spot-main-web/auth/login.html
  2. In the navigation bar, click XML Feed, then Create XML Feed.
  3. Enter any value for XML Feed Name.
  4. [Optional] If you select Make XML page private, chose and record a password.
  5. Click Create, record the XML Feed ID.

Usage

The spotcot daemon has several runtime arguments:

$ spotcot -h
usage: spotcot [-h] -U COT_URL [-S COT_STALE] -k API_KEY [-i INTERVAL]
               [-p PASSWORD]

optional arguments:
  -h, --help            show this help message and exit
  -U COT_URL, --cot_url COT_URL
                        URL to CoT Destination.
  -S COT_STALE, --cot_stale COT_STALE
                        CoT Stale period, in seconds.
  -k API_KEY, --api_key API_KEY
                        Spot API Key ("XML Feed Id").
  -i INTERVAL, --interval INTERVAL
                        Spot API Query Interval.
  -p PASSWORD, --password PASSWORD
                        Spot Feed Password for private feeds.

For minimum operation, -k API_KEY & -U COT_HOST are required.

Source

Github: https://github.com/ampledata/spotcot

Author

Greg Albrecht W2GMD [email protected]

http://ampledata.org/

Copyright 2021 Orion Labs, Inc.

License

Apache License, Version 2.0. See LICENSE for details.

spotcot's People

Contributors

ampledata avatar srevinsaju avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.