1GPXLOGGER(1) GPSD Documentation GPXLOGGER(1)
2
3
4
6 gpxlogger - Tool to connect to gpsd and generate a GPX file
7
9 gpxlogger [OPTIONS] [server[:port[:device]]]
10
11 gpxlogger -h
12
13 gpxlogger -V
14
16 gpslogger program collects fixes from gpsd and logs them to standard
17 output in GPX format, an XML profile for track logging. It does not
18 need to run as root, but can run as root.
19
20 The output may be composed of multiple tracks. A new track is created
21 if there’s no fix written for an interval specified by the -i or
22 --interval option and defaulting to 5 seconds.
23
24 gpxlogger can use any of the export methods that gpsd supports. For a
25 list of these methods, use the -l or --exports option. To force a
26 method, give the -e, --export option folloed by one of the
27 colon-terminated method names from the -l, --exports table.
28
30 -?, -h, --help
31 Print a summary of options and then exit.
32
33 -d, --daemonize
34 Run as a daemon in background. It requires the -f, --output option,
35 which directs output to a specified logfile.
36
37 -D LVL, --debug LVL
38 Sets the debug level, it is primarily for troubleshooting. It
39 enables various progress messages to standard error.
40
41 -e METHOD, --export METHOD
42 If D-Bus support is available on the host, GPSD is configured to
43 use it, and -e dbus, or --export dbus is specified, this program
44 listens to DBUS broadcasts from gpsd via org.gpsd.fix.
45
46 With -e sockets, or if sockets is the method defaulted to, you may
47 give a [server[:port[:device]]] specification as arguments. See the
48 ARGUMENTS section below for more details.
49
50 With -e shm, --export shm this program will listen to the local
51 gpsd using shared memory.
52
53 -i SECONDS, --interval SECONDS
54 A new track is created if there’s no fix written for an interval of
55 SECONDS. Defaulting to 5 seconds.
56
57 -l, --exports
58 List all possible options for -e, --export.
59
60 -m MINMOVE, --minmove MINMOVE
61 Sets a minimum move distance in meters (it may include a fractional
62 decimal part). Motions shorter than this will not be logged.
63
64 -r, --reconnect
65 Retry when GPSd loses the fix. Without -r, gpxlogger would quit in
66 this case.
67
68 -V, --version
69 Dump the package version and exit.
70
72 By default, clients collect data from the local gpsd daemon running on
73 localhost, using the default GPSD port 2947. The optional argument to
74 any client may override this behavior: [server[:port[:device]]]
75
76 For further explanation, and examples, see the ARGUMENTS section in the
77 gps(1) man page
78
80 0
81 on success.
82
83 1
84 on failure
85
87 gpsd(8), gps(1)
88
90 Project web site: https://gpsd.io/
91
93 This file is Copyright 2013 by the GPSD project
94 SPDX-License-Identifier: BSD-2-clause
95
97 Amaury Jacquot
98
99 Petter Reinholdtsen
100
101 Chris Kuethe
102
103
104
105GPSD, Version 3.23.1 2021-09-03 GPXLOGGER(1)