get bearing between points
This block is part of the number group and was last modified in core v10.4.28.
get bearing between points v10.4.28 Returns the initial bearing to travel along a geodesic between two points, using Vincenty inverse solution.
In pins 2
- from required
geo_pointStart geo point
- to required
geo_pointDestination geo point
Out pins 1
- bearing
number
Outputs the rhumb line (constant) bearing from geo_point_from to geo_point_to in degrees, normalized to 0-360. Missing or non-numeric lat/lon fields count as 0 instead of failing. Example: from {lat:0,lon:0} to {lat:1,lon:0} -> 0 (due north).
A typical wiring for get bearing between points: from city feeds the geo_point_from pin; from city feeds the geo_point_to pin; the bearing out pin feeds cast to value.
Version history
Introduced in v10.4.28.
Back to
number Return to the main group to view all sub-groups Back to geo Return to the group to view all blocks within this group 