Skip to content

A collection of utilities to read from gpsd and translate between GridSquare and Latitude/Longitude.

Notifications You must be signed in to change notification settings

mckeehan/GridSquare

Repository files navigation

GridSquare

A collection of utilities to read from gpsd and translate between GridSquare and Latitude/Longitude.

ReadGPS.c

This program uses libgps to read data from gpsd running on the localhost (hard-coded to localhost on port 2947), and will display a valid latitude and longitude. Additional information will be output to stderr, including when an invalid position is received.

GridSquare.cpp

Given a latitude and longitude, this program will calculate its gridsquare using calculations from https://n1sv.com/PROJECTS/How%20to%20calculate%20your%208-digit%20grid%20square.pdf

GridToGPS.cpp

Given a six-character gridsquare, this program will calculate the approximage latitude and longitude that corresponds.

About

A collection of utilities to read from gpsd and translate between GridSquare and Latitude/Longitude.

Topics

Resources

Stars

Watchers

Forks