Skip to content

Instantly share code, notes, and snippets.

@Sulter
Created November 7, 2017 15:17
Show Gist options
  • Save Sulter/951fa73bb5cf1ef087ae7d0dd4e9e3a4 to your computer and use it in GitHub Desktop.
Save Sulter/951fa73bb5cf1ef087ae7d0dd4e9e3a4 to your computer and use it in GitHub Desktop.
gps calc functions
#DMS to DD
echo "56 14 21.01735" | awk '{printf ("%.10f\n", $1+$2/60.00+$3/3600.00)}'
#distance between two DD points
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment