What is the best strategy for determining a user's location from a series of GPS fixes, once they are considered not to be moving?
When tracking a user, if they should stop moving there will subsequently be a sequence of fixes roughly in the same location.
If possible I would like to not just use the last fix, but also take into consideration previous fixes so as to calculate a more accurate position for them.
Factors that I would have thought need to be considered:
- The best way to determine a user is stationary (from experience speed from the GPS fixes is not sufficiently reliable)
- Each fix has an accuracy, how can this be factored in?
- Are there well established algorithms/libraries that could be used?
Any suggestions greatly appreciated