Socket
Socket
Sign inDemoInstall

node-red-contrib-mgrs

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-red-contrib-mgrs

A Node-RED node to convert co-ordinates to and from mgrs


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

Source

node-red-contrib-mgrs

A Node-RED node to convert co-ordinates in Latitude and Longitude to and from MGRS format.

Install

Either use the Node-RED menu - manage palette - install option, or run the following command in your Node-RED user directory - typically ~/.node-red

npm i node-red-contrib-mgrs

Usage

If the selected msg property contains .lat and .lon properties, this node adds a corresponding MGRS location as .mgrs.

If the object contains a .mgrs property as below, and not .lat and .lon they will be created.

msg.payload.mgrs - string - e.g. 30U XB 15652 56680

The MGRS may contain less precision if required, e.g. 30U XB 1 5, but does require spaces between the 4 parts.

Keywords

FAQs

Last updated on 29 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc