Closed whyceewhite closed 8 years ago
Addressed in commit c388612b8bae125d2403a276e56a47074da502e3.
This was happening because the horizontal accuracy was not being filtered. Set the filter to 20 meters. Also, filtered out locations that are greater than 3 seconds old.
During several executions, the mapping waypoints will occur in random, nearby locations. The result is a mapping polyline and distance that is a little off and some that are wildly off. (The car drive did better than the walk in the park.)
This RW resource indicates that a
CLLocation.horizontalAccuracy
greater than 20 should be ignored. Upon looking at my device's data, I noticed that many of the waypoints had horizontalAccuracy values > 20.Therefore, make the proper adjustments as outlined in the abovementioned resource.