While going through the rest of my GPS traces from the HOT exploratory mission in Senegal more on that in a series of blog posts, I had found one GPS trace that has 2 problems that I've occasionally experienced while collecting gps traces for OpenStreetMapL
- The GPS signal is temporarily lost and the distance between 2 points of your trace is abnormally lengthy,
and cuts across roads and features.
An example: Did I time-travel across that area ? Nope.
- And what I call the 'scribble effect' (is there another name for it?), where I accidentally forget to turn off the gps after I arrive at my destination and end up with multiple points near each other, looking like a child scribbled in a coloring book.
If you're planning to make any visualizations with your traces, these two symptoms allow viewers to misinterpret where you've been and make your visualizations inaccurate.
The scribble effect also negatively affects OpenStreetMap because GPS traces that are uploaded in the future in the same area as your scribbled GPS trace, other users will be able to not be discern the newer gps trace from your scribbled gps trace. There's also still a few places on earth (including some regions of Senegal) that don't have any satellite imagery to (legally) use for drawing ways for OSM.
So, after you complete a trace, how do you eliminate these symptoms described above?
I've tried a combination of different filters with gpsbabel - explained more here
but have yet to find a set of filters that would solve both issues.
I've tried a few and here's the results:
gpsbabel -t -i gpx -f gpx_louga_03062012-withmay.gpx -x track,pack,sdistance=0.6k -o gpx -F test7.gpx - this had fixed the temporary signal loss ... but it didn't fix the scribble effect.
gpsbabel -t -i gpx -f gpx_louga_03062012-withway.gpx -x discard,fixnone,fixunknown -o gpx -F test.gpx (resulted in a blank GPX File).
gpsbabel -t -i gpx -f gpx_louga_03062012-withway.gpx -x discard,fixnone -o gpx -F test.gpx (no effect)
gpsbabel -t -i gpx -f gpx_louga_03062012-withway.gpx -x position,distance=3m -o gpx -F test3.gpx (this removed the long points between the 2 segments, but didn't solve the scribble effect)
gpsbabel -t -i gpx -f gpx_louga_03062012-withway.gpx -x discard,hdop=5,hdop -o gpx -F test6.gpx (no effect)
gpsbabel -t -i gpx -f gpx_louga_03062012-withway.gpx -x position,distance=10m -o gpx -F test8.gpx - removed 1100 of the trace's 2400 points and the , but still left me with the scribble effect.
I'll continue to explore cleaning up the GPS traces with GPSbabel filters and hope to find a way - and I'll update this - but if you know of a specific filter in gpsbabel or any other way to do this, besides manually deleting the offending points in gpsprune, I'd appreciate it.