GPS visualizer - minor updates
ایہہ 30؍September 2011ء English وچ «Alexander Avtanski» لیکھ چھپیا گیا سی۔I'm in the habit of always carrying my GPS, recording where I go hiking, biking, or driving. Yesterday, while on a walk, I though that it should be pretty easy when visualizing the accumulated track to use different color for each mode of transportation. So, today I modified my GPS visualizer scripts a bit, adding parameters that allow selection by speed range.
On this image my trips are color-coded, based on the track speed:
Here RED is Driving (or rather "likely driving" based on the speed range), GREEN is Biking, and BLUE is Hiking/Walking.
If somebody is interested, the visualizer scripts, some more images, and a sample video can be downloaded from here:
http://avtanski.net/projects/gps .
Discussion
ایہہ 30؍September 2011ء 22:05 تے «kolen» ٹپݨی کیتی گئی سی۔
Cool!
ایہہ 2؍October 2011ء 13:08 تے «kevjs1982» ٹپݨی کیتی گئی سی۔
Cool - neat to see a huge blob covering Nottingham and a few tentacles spread out from there when running for my traces - now to go outside and enjoy the end of the summer before I start playing with this too much!
ایہہ 2؍October 2011ء 21:43 تے «skorasaurus» ٹپݨی کیتی گئی سی۔
Cool project !
I tried to run it and unfortunately received an error as follows:
BACKGROUND_COLOR = #000000
BORDER = 10
BREAK_DISTANCE = 0.8
COLOR_RANGE_STEPS = 128
CROP =
DEBUG = 0
GEOM_OVERRIDES =
GRID_COLOR =
IMAGE_SIZE = 2000
MAXSPEED = 0
MINMAX_DISABLING_NPOINTS =
MINMAX_ONLY =
MINSPEED = 0
OUTPUT = output.png
RUNNERS =
RUNNERS_OUTPUT =
RUNNER_COLOR = #FFFFFF00
RUNNER_DIAMETER = 5
RUNNER_TAIL_LENGTH = 1000
SRCDIR = /media/myharddrivesname/1archiveuntitled folder 2/
TRACK_COLOR = #FFFFFF78
TRACK_THICKNESS = 1
Use of uninitialized value in addition (+) at logdraw.pl line 143.
Use of uninitialized value in addition (+) at logdraw.pl line 143.
Use of uninitialized value in addition (+) at logdraw.pl line 144.
Use of uninitialized value in addition (+) at logdraw.pl line 144.
Use of uninitialized value in subtraction (-) at logdraw.pl line 146.
Use of uninitialized value in subtraction (-) at logdraw.pl line 146.
Use of uninitialized value in subtraction (-) at logdraw.pl line 147.
Use of uninitialized value in subtraction (-) at logdraw.pl line 147.
Illegal division by zero at logdraw.pl line 148.
ایہہ 3؍October 2011ء 00:51 تے «Alexander Avtanski» ٹپݨی کیتی گئی سی۔
Can you send me a sample GPX file?
ایہہ 3؍October 2011ء 12:59 تے «Harry Wood» ٹپݨی کیتی گئی سی۔
Beautiful. Now we need an animated version :-) I guess you've seen 'party render' videos: osm.wiki/Party_render#Rendered_Mapping_Parties (different colours for different mappers) It would cool to see your light effect applied to that kind of video.
ایہہ 4؍October 2011ء 03:03 تے «Alexander Avtanski» ٹپݨی کیتی گئی سی۔
You mean like this one - http://youtu.be/b_5IcRVIL-w ? :-) (Don't forget to turn on the audio.)
ایہہ 6؍October 2011ء 10:43 تے «alv» ٹپݨی کیتی گئی سی۔
I got the same error. Thanks to user ij_ who found that the fault was, that my logs don't include the .. line (converted from Nüvi proprietary binary format). Commenting out lines 109, 110, 243 and 244 in logdraw.pl made it work for me, but that was the dirty way to fix it. Maybe skorasaurus has the same problem?
ایہہ 6؍October 2011ء 10:47 تے «alv» ٹپݨی کیتی گئی سی۔
Fix for my comment: the logs don't include the lines with the "ele" and "/ele" at all. The proprietary logs don't have it, or the converter doesn't know how to handle it.
ایہہ 6؍October 2011ء 17:11 تے «Alexander Avtanski» ٹپݨی کیتی گئی سی۔
Hi Alv,
Thanks for the debugging - if you can mail me a short segment of a GPX file, this will be great. All I have here is GPX produced by my Garmin eTrex Vista Cx.
Skorasaurus' problem turned out to be different - he assumed that the script will traverse the subfolders of the folder he specified recursively, searching for scripts - it doesn't yet. When I have some free time I'll add this.
Regards,
- Alex
ایہہ 7؍October 2011ء 16:42 تے «Alexander Avtanski» ٹپݨی کیتی گئی سی۔
I just got a sample file without the tag and updated the script accordingly to handle it. Alv shouldn't have any problems anymore.