Thomas Lochmatter · LaTeX to SVG · Secret Sharing · RGB/xy · NTC · PDF · QR · Unicode

gps-bearing

A bearing and distance calculator

gps-bearing calculates the bearing and distance from one WGS84 point (aka GPS position) to another. This is the kind of calculation needed for two directional antennas to point to each other, or a camera to point towards a specific target.

Online calculator

Your position and orientation Use your current location
Latitude (N):
Longitude (E):
Altitude:
Heading:
Pitch:
Roll:
Target position
Latitude (N):
Longitude (E):
Altitude:
Hints:
Type negative latitude angles for points on the southern hemisphere, and negative longitude angles for points in the west. Zero heading, pitch, and roll means that you are standing upright on a levelled surface, and facing north.

Bearing and distance from your position to the target position

Horizontal angle:
?
Vertical angle:
?
Distance:
?

Turn left (counter-clockwise, mathematical sense) by the indicated horizontal angle, and then up by the indicated vertical angle.
You are now looking towards the target.

Download

gps-bearing.zip

This is a command line tool for Linux and Mac OS X.

Track flying objects

gps-bearing is a small part of a system to track flying objects with an antenna or a camera. If you are interested in the whole source code, do not hesitate to get in touch with me.

Questions, Suggestions and Bug Reports

Please direct questions, suggestions, and bug reports to Thomas Lochmatter.

License

CC BY 4.0 (Creative Commons Attribution 4.0 International), with Thomas Lochmatter (thomas.lochmatter@viereck.ch) as the author.