<div class="gmail_quote">On Fri, Apr 17, 2009 at 1:48 PM, Frederik Ramm <span dir="ltr"><<a href="mailto:frederik@remote.org">frederik@remote.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Karl Newman wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I want the same thing, and I looked into doing this with GPSBabel, too, and<br>
while it has the capability to filter points inside or outside a radius (or<br>
polygon, etc.), that function does not work on trackpoints, and the author<br>
had said something to the effect of "it doesn't make sense to have it<br>
enabled for trackpoints because it would make false tracks (jumps, etc.)".<br>
</blockquote>
<br>
Those free software authors are bastards aren't they ;-)<br>
<br>
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:<br>
<br>
-x nuketypes,waypoints,routes<br>
-x transform,wpt=trk<br>
-x nuketypes,tracks<br>
-x polygon,file=europa.txt<br>
-x polygon,file=gruener.txt,exclude<br>
-x sort,time<br>
-x transform,trk=wpt<br>
-x nuketypes,waypoints<br>
-x track,pack,sdistance=0.2k,split=20s<br>
-x position,distance=1m<br>
<br>
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!<br>
<br>
Bye<br>
Frederik<br><font color="#888888">
</font></blockquote></div><br>Cool. I'll have to check that out. I'm curious to see what information is lost in the translation.<br><br>Karl<br>