[Geolocation] calculate the average of a series of positions

Solved
glick66 Posted messages 80 Status Member -  
glick66 Posted messages 80 Status Member -
Bonjour,

I am looking to calculate the GPS coordinates of a point that would correspond to the average of the GPS coordinates of a series of points.

Does anyone know the formula to apply to calculate the average of a series of GPS coordinates?
The coordinates are in degrees and decimal minutes (DMM) format: 41 24.2028, 2 10.4418

Thank you in advance for any help.

2 answers

  1. Rodabla
     
    Hello,
    not really an algorithm but rather arithmetic...
    The average of several values is the sum divided by their number.
    To be applied to decomposed coordinates if necessary: latitude and longitude, x or y in a Cartesian coordinate system, etc...

    So average latitude = (SUM OF LATITUDES)/n
    So average longitude = (SUM OF LONGITUDES)/n

    "n" corresponds to the number of existing coordinates (geolocated points).

    Of course, these operations must be performed in the corresponding database.
    https://en.wikipedia.org/wiki/Base_(arithmetic)
    0
  2. glick66 Posted messages 80 Status Member 25
     
    Thank you. I wasn't hoping for anything simpler...
    0