I have a simple GPS tracking application that I'm writing that uploads the GPS data to a server so we can track where our employee's go. However, when the application is running it hammers our server tremendously, and we'd like to limit that.
What I'm looking for is two-fold:
One, a way to determine if the new location is within x meters of the previous location.
Two, a way to determine velocity (speed) and to limit the update if the velocity is under x mph.
Thank you in advance for your help!