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

Stad: 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

Discussion

Kommentar frå olejorgenb, 26 mai 2011 kl. 03:26

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)

Kommentar frå durian, 26 mai 2011 kl. 05:48

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.

Kommentar frå SB79, 26 mai 2011 kl. 06:51

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

Kommentar frå maximeguillaud, 26 mai 2011 kl. 07:43

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

Kommentar frå SB79, 26 mai 2011 kl. 12:50

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

Kommentar frå Alexander Avtanski, 26 mai 2011 kl. 15:21

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.

Kommentar frå Alexander Avtanski, 26 mai 2011 kl. 15:45

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.

Kommentar frå Hawkeye, 26 mai 2011 kl. 17:21

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

Kommentar frå Anna_AG, 27 mai 2011 kl. 12:54

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

Kommentar frå Windsurfer62, 28 mai 2011 kl. 07:10

Great - It deserves to be used everywhere.

Kommentar frå Claudomiro, 29 mai 2011 kl. 01:26

This is so coool, pure art! Congratulations

Kommentar frå qaysedcftgb, 2 juni 2011 kl. 22:42

GREAT!
I enjoyed the show. Grats!

Kommentar frå gecho111, 3 mars 2015 kl. 00:25

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

Kommentar frå Alexander Avtanski, 4 mars 2015 kl. 20:27

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

Kommentar frå gecho111, 7 mars 2015 kl. 18:01

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.

Logg inn for å legge igjen ein kommentar