[OSM-talk] Removing home point cloud(s) from multiple GPX files
Karl Newman
siliconfiend at gmail.com
Fri Apr 17 22:05:59 BST 2009
On Fri, Apr 17, 2009 at 1:48 PM, Frederik Ramm <frederik at remote.org> wrote:
> 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
>
Cool. I'll have to check that out. I'm curious to see what information is
lost in the translation.
Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20090417/c1f379b4/attachment.html>
More information about the talk
mailing list