- Tumbleweed 3.26.1-2.1
 - Leap-16.0
 - Leap-15.6
 
| GPXLOGGER(1) | GPSD Documentation | GPXLOGGER(1) | 
NAME¶
gpxlogger - Tool to connect to gpsd and generate a GPX file
SYNOPSIS¶
gpxlogger [OPTIONS] [server[:port[:device]]]
gpxlogger -h
gpxlogger -V
DESCRIPTION¶
gpslogger program collects fixes from gpsd and logs them to standard output in GPX format, an XML profile for track logging. It does not need to run as root, but can run as root.
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 or --interval option 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 or --exports option. To force a method, give the -e, --export option folloed by one of the colon-terminated method names from the -l, --exports table.
OPTIONS¶
-?, -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. See the ARGUMENTS section below for more details.
With -e shm, --export shm this program will listen to the local gpsd using shared memory.
-f OUTFILE, --output OUTFILE
-F INFILE, --filein INFILE
-g, --garmin
-i SECONDS, --interval SECONDS
-l, --exports
-m MINMOVE, --minmove MINMOVE
-r, --reconnect
-V, --version
ARGUMENTS¶
By default, clients collect data from the local gpsd daemon running on localhost, using the default GPSD port 2947. The optional argument to any client may override this behavior: [server[:port[:device]]]
For further explanation, and examples, see the ARGUMENTS section in the gps(1) man page
RETURN VALUES¶
0
1
Note
spxlogger sends error messages to the system log, not to
  
  stderr.
EXAMPLES¶
To daemonize, and output the gpx log to a date stamped filename:
$ gpxlogger -d -f "out-%c.gpx"
SEE ALSO¶
RESOURCES¶
Project web site: <https://gpsd.io/>
COPYING¶
This file is Copyright 2013 by the GPSD project
  
  SPDX-License-Identifier: BSD-2-clause
AUTHORS¶
Amaury Jacquot
Petter Reinholdtsen
Chris Kuethe
| 2025-05-06 | GPSD, Version 3.26.1 |