HTML Output (html)

This format can...

  • write waypoints

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

GPSBabel's HTML output generates a single HTML file of all of the waypoints in the input file. It supports a number of Groundspeak GPX extensions and filters out potentially harmful HTML from the input file while maintaining almost all of the source HTML formatting. This makes this format well suited for generating HTML to hand to programs like Plucker for putting in a PDA and especially so for "paperless caching" for Geocachers with pocket queries.

This format is similar to the text format.

The following command line reads a GPX file with Groundspeak extensions and writes an HTML file with encrypted hints that is rendered using a custom stylesheet:

gpsbabel -i gpx -f 12345.gpx -o html,stylesheet=green.css,encrypt -F 12345.html

stylesheet option

Path to HTML style sheet.

Use this option to specify a CSS style sheet to be used with the resulting HTML file.

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'.