added gps writeout to spqlite3