[OSM-talk] clean gpx tracks
Christoph Böhme
christoph at b3e.net
Thu Sep 25 14:35:52 BST 2008
Lambert Carsten <lhc.osm at solcon.nl> wrote:
> There is also a privacy advantage not uploading the unnecessary time
> stamps. I am sure there are many that hesitate to upload tracks for
> privacy reasons.
A while ago I wrote a small shell script which did the following things:
- It removes trackpoints in a number of defined polygons (around
your house, around your workplace, ...)
- It changes all timestamps by a random time interval (one interval
for all timestamps, of course).
- It removes cmt, desc and name tags from trackpoints.
- It removes waypoints and routes from the file.
- It simplifies the route by discarding trackpoints which are in a
straight line.
The script is probably not particularly well written and it depends
xsltproc and gpsbabel. An output directory and the polygonal areas to
exclude are defined directly in the file. I put the script on my wiki
page in case someone is interested in it:
http://wiki.openstreetmap.org/index.php/User:Xoff
> Maybe someone can point me to some editor with which I can easily
> clean up the tracks without clearing out the time stamps (personally
> I don't have a problem uploading that info).
I am using viking on Linux (http://sourceforge.net/projects/viking/). It
seems to be in an relatively early development stage and I find the user
interface a bit peculiar, but it allows me editing gpx tracks and
waypoints while preserving the timestamps. It also supports underlaying
the gps data with maps/sat images.
Cheers,
Christoph
More information about the talk
mailing list