GPXLOGGER(1) | GPSD Documentation | GPXLOGGER(1) |
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, --daemonize
-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:
localhost:/dev/ttyS1
example.com:2317
71.162.241.5:2317:/dev/ttyS3
[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:2317:/dev/ttyS5
With -e shm, --export shm this program will listen to the local gpsd using shared memory.
-i SECONDS, --interval SECONDS
-l, --exports
-m MINMOVE, --minmove MINMOVE
-r, --reconnect
-V, --version
Amaury Jacquot <sxpert@sxpert.org> & Petter Reinholdtsen <pere@hungry.com> & Chris Kuethe <chris.kuethe@gmail.com>
6 December 2020 | The GPSD Project |