Main Menu

search

You are here

Latitude/Longitude Code

[last updated: 2022-04-01]
GPS module
tracker software
-----

  • Distance Calculation Equations

  • Using a Python program to extract distances from lat/long data:
    • I created a text file containing a list of lat/lng coordinates
      and a python program to read the data file and report distances between successive points.
    • execute the python program:
      open a terminal and cd to the folder where your python program and data file are located.
      execute with this command:
      $ sudo python3 distanceFromGPS-03.py

    • 0.0001 deg in latitude = ~36 ft.
    • 0.0001 deg in longitude = ~26 ft.

.

.

.

eof