
Da-
ta
Fil-
ters
90
As an example, this option may be used to adjust the locations of "puzzle" geocaches in a Groundspeak
pocket query:
Example 4.12. Using the duplicate filter to correct the locations of "puzzle"
geocaches
gpsbabel -i gpx -f 43622.gpx -i csv -f corrections.csv -x
duplicate,shortname,correct -o gpx -F 43622-corrected.gpx
After this command is run, the waypoints in the output file will have all of the descriptive information from
43622.gpx, but waypoints that were also found in corrections.csv will have their coordinates
replaced with the coordinates from that file.
Remove Points Within Distance (position)
This filter removes points based on their proximity to each other. A point is removed if it is within the
specified distance of a point that has come before.
Example 4.13. Using the position filter to suppress close points
The following command removes multiple points that are within one foot of each other, leaving just one.
gpsbabel -i geo -f 1.loc -f 2.loc -x position,distance=1f -o mapsend
-F 3.wpt
distance option
Maximum positional distance.
This option specifies the minimum allowable distance between two points. If two points are closer than
this distance, only one of them is kept.
Distances may be expressed in feet (30f) or meters (10m). If no unit is specified, the distance is assumed
to be in feet.
all option
Suppress all points close to other points.
This option causes the position filter to remove all points that are within the specified distance of one
another, rather than leaving just one of them.
This option may be used to entirely remove clusters of points.
Remove unreliable points with high hdop or
vdop (discard)
This filter is used to "fix" unreliable GPS data by discarding points with HDOP and/or VDOP above a
specified limit. HDOP and VDOP are measures of the best possible horizontal or vertical precision for a
given configuration of GPS satellites.
Kommentare zu diesen Handbüchern