Skip to content

dceejay/node-red-contrib-mgrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Node-RED node to convert lat/lon to/from MGRS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published