This is a reposting of another post where a solution (possible not 100% complete but well on the way) for storing GPS data is posted.
http://www.awareim.com/forum/viewtopic.php?t=6965
Storing GPS data
Storing GPS data
Henrik (V8 Developer Ed. - Windows)