I'm not sure if this is an issue with the gps, the app I'm using, or android itself, but since it's android that ties it altogether, I'll try posting this here (let me know if I should move this to a better spot).
I tend to use my phone's (Samsung galaxy S2) gps along with MyTracks app to record when I go on a hike. Mostly it works fine, but every once in a while, I get this strange result:
Obviously, I can't hike this path in a few hours, so something is definitely wrong with the resulting coordinates. I write a quick script to filter out anything that looks too far (anything more then a few degrees difference), eliminating those far off points. I get this:
I try to filter it some more by tightening my error values or random things that come to mind, but it doesn't really work well. I did notice though that all was not lost as it actually recorded the first half just fine and the actual path looks like this:
But the added return path looks like this:
Zooming in to a section, I can see that the return path is very jerky with what seems like many points added all over the place roughly along my path:
And zooming in more:
Any idea what causes this to happen and how I can fix/prevent it in the future?