Textual Output (text)

This format can...

  • write waypoints

This format has the following options: nosep, encrypt, logs, degformat, altunits, splitoutput .

This is a simple human readable version of the data file, handy for listings of any type of waypoint files.

The following command line reads a GPX file with Groundspeak extensions and writes a text file with encrypted hints:

gpsbabel -i gpx -f 12345.gpx -o text,encrypt -F 12345.txt

nosep option

Suppress separator lines between waypoints.

To suppress the dashed lines between waypoints, use this option.

encrypt option

Encrypt hints using ROT13.

Use this option to encrypt hints from Groundspeak GPX files.

logs option

Include groundspeak logs if present.

Use this option to include Groundspeak cache logs in the created document.

degformat option

Degrees output as 'ddd', 'dmm'(default) or 'dms'.

When GPSBabel writes coordinates, this option is consulted to see if it should write decimal degrees ('ddd') decimal minutes ('dmm') or degrees, minutes, seconds ('dms'). The default is 'dmm'.

altunits option

Units for altitude (f)eet or (m)etres.

This option should be 'f' if you want the altitude expressed in feet and 'm' for meters. The default is 'f'.

splitoutput option

Write each waypoint in a separate file.

Splits output into separate files for each waypoint by appending a decimal number to the output filename.

Example 3.35. Example for splitoutput option to text format

If "MyPQ.gpx" contains five waypoints, gpsbabel -i gpx -f MyPocketQuery -o text,split -F blah will result in files named blah1 ... blah5, each containing info from one of those waypoints.