dceejay / node-red-contrib-utm

Simple Node-RED node to convert lat, lon to utm co-ordinates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-red-contrib-utm

A Node-RED node to convert co-ordinates in Latitude and Longitude to and from UTM 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-utm

### Usage

If msg.payload contains .lat and .lon properties, this node adds a corresponding UTM location as msg.payload.utm.

If the object contains a msg.payload.utm property as below, and not .lat and .lon, then .lat and .lon will be created.

msg.payload.utm.x = eastings
msg.payload.utm.y = northings
msg.payload.utm.z = zone code - eg 30U

About

Simple Node-RED node to convert lat, lon to utm co-ordinates

License:Apache License 2.0


Languages

Language:HTML 50.2%Language:JavaScript 49.8%