Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hardillb/node-red-node-geolib
https://github.com/hardillb/node-red-node-geolib
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hardillb/node-red-node-geolib
- Owner: hardillb
- License: apache-2.0
- Created: 2024-09-25T21:18:37.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-28T17:09:36.000Z (4 months ago)
- Last Synced: 2024-11-16T13:38:15.450Z (about 2 months ago)
- Language: HTML
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @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 propertiesCurrently exposing 2 functions
## Distance
This uses `geolib.getDistance()`
## Bearing
This uses `geolib.getRhumbLineBearing()`