npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-red-contrib-cot2xtopo

v2.0.4

Published

This module parses live tracks from a Caltopo map json endpoint and converts the last coordinate in the live tracking folder to a position location information (pli) cursor-on-target (CoT) message to send to a Team Awareness Kit (TAK) Server or other TAK

Downloads

31

Readme

node-red-contrib-cot2xtopo

Parses CoT message from a stream, parses for PLI messages for coordinates and callsign, and then sends a location to CalTopo using the API and connect key generated by team accounts

SUMMARY

This Node RED subflow listens in on a network kml file such as the one produced by a CalTopo Team account map, parses out the position location information (PLI) of personnel and streams the cursor on target message to a TAK Server or multicasts to via UDP on a virtual private network.

Pre-Requisites

  1. Node RED installed and continuously running (See Greg Albrecht's video on how to install Node-Red on Windows)
  2. CalTopo Team account with a Map ID and the map's Base Permission set to URL
  3. node-red-contrib-tak node

If using a TAK Server (Optional)

  1. An open port on your TAK Server using an x509 authorization if you plan to use tls (most secure)
  2. A certificates generated by the TAK Server and the TCP node (See Greg Albrect's video)

LIMITATIONS

If your team creates new maps for every call, you will need to manually inject the new Map_ID using the Inject node in Node RED or create a User Interface Text node. Your other option is to dedicate a specific CalTopo map for live-tracking or SMS Locators.

The function node has some filtering to assign a color for a terms found in the callsign. Edit those, needed.

CONTACT INFORMATION

If using an SMS Locator in CalTopo and if you provide a callsign titled subject[digit] [10-digit telephone number] (e.g. subject1 1118675309), the telephone number will be parsed and available in the TAK's Contact menu in ATAK / iTAK to allow you to call or text the subject by tapping the PLI in ATAK / iTAK. Using subject in the name will give the PLI a Magenta color / team.

NOTEUse this with caution, as if the subject is not actively updating their browser, their position will stale out due to mobile os security settings. SMS Locators should be treated as Last Known Positions.

REQUIRED NODES

  1. INJECT: The msg.payload should be set to the CalTopo Map ID, which would be the last 5 characters of your CalTopo URL. For example, if your map url is https://sartopo.com/m/ABC12, the map id would be ABC12.
  2. node-red-contrib-tak: This node is required to pass the CoT message from this subflow to a TAK Server or EUDs on a network.
  3. TCP OUT:
    • TAK Server: If using TLS, check on the SSL / TLS option and create or edit your TLS Configuration, as needed.
    • UDP: This would need to be configured to your vpn settings and requires your Node Red instance to be on the same vpn to multicast to TAK end-user-devices.

For more information on how to set up the network and node-red-contrib-tak nodes, see https://node-red-contrib-tak.readthedocs.io/en/latest/

For more information on configuring your CalTopo team account, visit their support page

INSTALLATION:

  1. Import subflow json files in the ./examples subfolder into to Node-RED
  2. Install using npm: npm i node-red-contrib-cot2xtopo

License & Copyright

Copyright 2023 CLP Development, LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.