I find that often while using CLLocationManager:
self.locationManager = [[CLLocationManager alloc] init];
self.locationManager.delegate = self;
self.locationManager.desiredAccuracy = kCLLocationAccuracyBest;
self.locationManager.distanceFilter = 10;
and it's delegate method:
-(void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations;
I will get results that look like the below, even while not moving at all. I know the location service is not always 100% accurate and is subject to network conditions, but is there some way to filter out bad locations so that I don't end up with random stray points like this?