Transformate waypoints into a route, tracks into routes, ... (transform)

This filter can be used to convert GPS data between different data types.

Some GPS data formats support only some subset of waypoints, tracks, and routes. The transform filter allows you to convert between these types. For example, it can be used to convert a pile of waypoints (such as those from a CSV file) into a track or vice versa.

The following example show you how to create a route from a waypoint table.

gpsbabel -i csv waypts.txt -x transform,rte=wpt -o gpx -F route.gpx

Only the first letter of option value decides which transformation will be done. Depending on the used option it can be only 'W' for waypoints, 'R' for routes or 'T' for tracks.

wpt option

Transform track(s) or route(s) into waypoint(s) [R/T].

rte option

Transform waypoint(s) or track(s) into route(s) [W/T].

trk option

Transform waypoint(s) or route(s) into tracks(s) [W/R].

del option

Delete source data after transformation.