i've a gps tracker that now works great, except when iphone lost gps connection. When the connection is lost the track make one or more point to a random location (as you can see in this image:
In which way i can discard this bad values? I've think to do in this way: before save my data i can do a sum of my integer values of current latitude and longitude and compare with integer values of my old latutude and longitude; if the difference is > somevalue i discard my data.
It will be a good thing? There's some other nice tricks to do this?
Thank's