CEMETECH
Leading The Way To The Future
Login [Register]
Username:
Password:
Autologin:

Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 99 users online: 3 members, 68 guests and 28 bots.
Members: Ashbad, Xeda112358.
Bots: VoilaBot (3), Spinn3r (1), Magpie Crawler (2), VoilaBot (1), Yahoo! Slurp (1), Googlebot (19), MSN/Bing (1).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
Author Message
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

Posted: 22 Aug 2011 11:18:21 am    Post subject: GPS2KML

As you may or may not know, Cemetech side-project Feedscreamer, aka Scouter 2.0, tracks and records GPS data in a simple delimited file format. I occasionally like to pull that data into Google Earth to examine the paths that it has created, which requires a simple conversion to a KML file. I've previously just done a series of find/replaces, but I figured I would codify it as a program. This trivial program (download link below) converts files with lines of the form "timestamp latitude longitude" (where timestamp is in seconds of epoch time and latitude and longitude are signed decimal numbers) into KML files. It even does intelligent sensing of where the GPS or device has been turned on and off to create discontinuous paths of multiple trips. Feel free to grab it from the link below. I've included a sample screenshot from feeding Cemetech admins' recent Maine trip data into the program; you can see our departure from Massachusetts, arrival in Maine, and return back to Boston.

Download
GPS2KML v1.0


_________________


Back to top
comicIDIOT


Guru


Joined: 01 May 2006
Posts: 5106
Location: SFBA, California

Posted: 22 Aug 2011 03:28:02 pm    Post subject:

Hm, I always forget how close NY is to Maine.
_________________


-Alex
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

Posted: 22 Aug 2011 03:30:04 pm    Post subject:

It's not THAT close, it is a 4.5-hour bus ride to get to Boston, 2 more hours to Shaun, then a four-hour car ride to where we were in Maine.
_________________


Back to top
merthsoft


File Archiver


Joined: 09 May 2010
Posts: 2735

Posted: 22 Aug 2011 03:34:55 pm    Post subject:

Yeah, depending on where you're coming and going, it could be, like, a 16 hour drive.
_________________
Shaun
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

Posted: 22 Aug 2011 04:05:16 pm    Post subject:

I think you'd actually enjoy this trace that GPS2KML generated, Shaun; you can see a lot of stuff from our trip, like the missed connection to I295, the GPS jitter when we stopped for gas on the way up and the rest stop on the way back, our little detour in Boston, etc. It's quite fun following the path. I'm wondering if this will be useful to anyone else. Smile
_________________


Back to top
merthsoft


File Archiver


Joined: 09 May 2010
Posts: 2735

Posted: 22 Aug 2011 04:07:39 pm    Post subject:

Does it show the speeds and stuff, too? Then we could look at where we hit all that traffic on 95.
_________________
Shaun
Back to top
KermMartian


Site Admin


Joined: 14 Mar 2005
Posts: 55736
Location: Earth, Sol, Milky Way

Posted: 22 Aug 2011 04:13:54 pm    Post subject:

merthsoft wrote:
Does it show the speeds and stuff, too? Then we could look at where we hit all that traffic on 95.
That's a great idea for an expansion for GPS2KML! It has the timestamp and location data, so it can easily calculate speed for each segment and color-code it, at the possible cost of bigger KML files. Good thinking.
_________________


Back to top
elfprince13


OVER NINE THOUSAND!


Joined: 23 May 2005
Posts: 10228
Location: A galaxy far far away......

Posted: 23 Aug 2011 12:14:44 pm    Post subject:

that would be pretty cool indeed. Maybe categorize the color coding by increments of ten?
_________________
StickFigure Graphic Productions || VSHI: Vermont Sustainable Heating Initiative


Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are GMT - 5 Hours

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.026961 seconds.