@hardillb/node-red-node-geolib 0.0.1

Nodes for working with geographic locations

npm install @hardillb/node-red-node-geolib

@hardillb/node-red-node-geolib

A group of Node-RED nodes exposing the geolib functions

All nodes read the input location from the msg object in this order

  • msg.location.lat & msg.location.lon
  • msg.lat & msg.lon
  • msg.payload.lat & msg.payload.lon

Starting point can be set in the config node or using the TypedInput to select

  • Environment Variables
  • flow context
  • global context
  • msg properties

Currently exposing 2 functions

Distance

This uses geolib.getDistance()

Bearing

This uses geolib.getRhumbLineBearing()

Node Info

Version: 0.0.1
Updated 8 months, 1 week ago
License: Apache-2.0
Rating: not yet rated

Categories

Actions

Rate:

Downloads

1 in the last week

Nodes

  • geolib-bearing
  • geolib-distance

Keywords

  • node-red
  • location

Maintainers

Contributors

  • Benjamin Hardill