gpxlogger - Tool to connect to gpsd and generate a GPX file
gpxlogger [-?] [--daemonize] [--debug debug-level] [--export export-method] [--exports] [--help] [--intervaltrack timeout] [--minmove minmove] [--output filename] [--version] [-d] [-D debug-level] [-e export-method] [-f filename] [-h] [-i track timeout] [-l] [-m minmove] [-V] [server [:port [:device]]]
This program collects fixes from gpsd and logs them to standard output in GPX, an XML profile for track logging.
The output may be composed of multiple tracks. A new track is created if there's no fix written for an interval specified by the -i, --interval and defaulting to 5 seconds.
gpxlogger can use any of the export methods that gpsd supports. For a list of these methods, use the -l, --exports. To force the method, give the -e, --export one of the colon-terminated method names from the -l, --exports table.
-?, -h, --help
-D LVL, --debug LVL
-e METHOD, --export METHOD
With -e sockets, or if sockets is the method defaulted to, you may give a server-port-device specification as arguments.
The sockets default is to all devices on the localhost, using the default GPSD port 2947. An optional argument to any client may specify a server to get data from. A colon-separated suffix is taken as a port number. If there is a second colon-separated suffix, that is taken as a specific device name to be watched. However, if the server specification contains square brackets, the part inside them is taken as an IPv6 address and port/device suffixes are only parsed after the trailing bracket. Possible cases look like this:
With -e shm, --export shm this program will listen to the local gpsd using shared memory.
-i SECONDS, --interval SECONDS
-m MINMOVE, --minmove MINMOVE
Amaury Jacquot <email@example.com> & Petter Reinholdtsen <firstname.lastname@example.org> & Chris Kuethe <email@example.com>
|6 December 2020||The GPSD Project|