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

Městno: 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

Diskusija

Komentar wot olejorgenb spisany dnja 26. May 2011 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)

Komentar wot durian spisany dnja 26. May 2011 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.

Komentar wot SB79 spisany dnja 26. May 2011 06:51

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

Komentar wot maximeguillaud spisany dnja 26. May 2011 07:43

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

Komentar wot SB79 spisany dnja 26. May 2011 12:50

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

Komentar wot Alexander Avtanski spisany dnja 26. May 2011 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.

Komentar wot Alexander Avtanski spisany dnja 26. May 2011 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.

Komentar wot Hawkeye spisany dnja 26. May 2011 17:21

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

Komentar wot Anna_AG spisany dnja 27. May 2011 12:54

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

Komentar wot Windsurfer62 spisany dnja 28. May 2011 07:10

Great - It deserves to be used everywhere.

Komentar wot Claudomiro spisany dnja 29. May 2011 01:26

This is so coool, pure art! Congratulations

Komentar wot qaysedcftgb spisany dnja 2. June 2011 22:42

GREAT!
I enjoyed the show. Grats!

Komentar wot gecho111 spisany dnja 3. March 2015 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.

Komentar wot Alexander Avtanski spisany dnja 4. March 2015 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

Komentar wot gecho111 spisany dnja 7. March 2015 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.

Přizjewić, zo by komentar spisał(a)