[OSM-talk] Removing home point cloud(s) from multiple GPX files
Frederik Ramm
frederik at remote.org
Fri Apr 17 21:48:54 BST 2009
Hi,
Karl Newman wrote:
> I want the same thing, and I looked into doing this with GPSBabel, too, and
> while it has the capability to filter points inside or outside a radius (or
> polygon, etc.), that function does not work on trackpoints, and the author
> had said something to the effect of "it doesn't make sense to have it
> enabled for trackpoints because it would make false tracks (jumps, etc.)".
Those free software authors are bastards aren't they ;-)
Someone on talk-de recently posted the following magic spell he's using
with gpsbabel to simplify his tracks, clear them of point clouds and
exclude certain areas:
-x nuketypes,waypoints,routes
-x transform,wpt=trk
-x nuketypes,tracks
-x polygon,file=europa.txt
-x polygon,file=gruener.txt,exclude
-x sort,time
-x transform,trk=wpt
-x nuketypes,waypoints
-x track,pack,sdistance=0.2k,split=20s
-x position,distance=1m
The clever bit seems to be the -x transform incantantions with which he
converts trackpoints to waypoints before applying the polygon filter,
then transforms them back!
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the talk
mailing list