OpenStreetMap logo OpenStreetMap

I recently [re]discovered the years and years of accumulated GPS logs that I had from dragging my GPS with me on every hike or drive and decided to do something with them. After some Perl scripting and ImageMagick processing, I got this:




Click on the picture above for a full size view of this and other images.


BTW, this is my first diary entry - I hope the HTML works... If not, the URL is this: http://avtanski.net/projects/gps. The track visualization video is here: http://www.vimeo.com/23697355

ځای: Blossom Oaks Apartments, San Jose, Santa Clara County, California, United States
Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

شننه

په 26 May 2011 په 03:26 باندې د olejorgenb تبصره

Nice! I really should clean up and organize my tracks, and this gives me some much needed motivation :) (I have not even close to that many track points though)

په 26 May 2011 په 05:48 باندې د durian تبصره

Yes, nice! I did something similar with my tracks last year, plotted all my logs with Mapnik. I didn't filter them enough though so I got big clumps where I live and work.

په 26 May 2011 په 06:51 باندې د SB79 تبصره

Nice! How did you produce the video? Did you use imagemagick in order to produce the video by concatenating the pictures? :-)

په 26 May 2011 په 07:43 باندې د maximeguillaud تبصره

Very nice ! Note that the -INPUT parameter doesn't work properly, it seems to always fall back to the "input" directory.

په 26 May 2011 په 12:50 باندې د SB79 تبصره

I can confirm this problem. The "INPUT" parameter doesn't work for me either.

په 26 May 2011 په 15:21 باندې د Alexander Avtanski تبصره

Hello. Yes, I used ImageMagick - to produce the fuzzy glow effect. I merged the video from the images using VirtualDub.

Regarding the INPUT parameter not working - oops, my bad. The parameter is actually "SRCDIR". I'll update the README.TXT. Thanks for the tip.

په 26 May 2011 په 15:45 باندې د Alexander Avtanski تبصره

UPDATE: Thanks for the feedback. I updated the README.TXT to list the correct parameter (SRCDIR instead of INPUT) and included in the zip file on the site a sample script that uses ImageMagick to produce the halo effect.

په 26 May 2011 په 17:21 باندې د Hawkeye تبصره

I assure you, that was no waste of time or computing power! :-)

په 27 May 2011 په 12:54 باندې د Anna_AG تبصره

Love it - agreed - no waste of time - what are computers for?

په 28 May 2011 په 07:10 باندې د Windsurfer62 تبصره

Great - It deserves to be used everywhere.

په 29 May 2011 په 01:26 باندې د Claudomiro تبصره

This is so coool, pure art! Congratulations

په 2 June 2011 په 22:42 باندې د qaysedcftgb تبصره

GREAT!
I enjoyed the show. Grats!

په 3 March 2015 په 00:25 باندې د gecho111 تبصره

Are the RUNNER parameters used generate a sequential series of images for a track? I can’t quite figure out how to use them.

په 4 March 2015 په 20:27 باندې د Alexander Avtanski تبصره

Hi,

Sorry for the late reply - I’ve been down with the flu.

The runners parameter just specifies a bunch of points where the trail should end - they correspond to the bright doors on the video. They do not generate a sequence of images. If you want a sequence, you need to run the script multiple times, each time with the runners moved a few points ahead.

It’s a bit tricky. However, I have written another tool that can be help generate any kind of movie - you can check it here:

http://avtanski.net/projects/gpsmash/

The easiest way to make an animation is to project the GPS data, export it to X3D format, load it in any 3D animation tool (like Blender, free) then animate any way you want:

http://avtanski.net/projects/gpsmash/example_outx3d.html

په 7 March 2015 په 18:01 باندې د gecho111 تبصره

Thanks. Last year over the course of 73 bike rides totaling about 4000 km I covered every road and alley in my city. I thought it would be neat if I could create video drawing the path I took.

ننوتل to leave a comment