1GPXLOGGER(1)                  GPSD Documentation                  GPXLOGGER(1)
2
3
4

NAME

6       gpxlogger - Tool to connect to gpsd and generate a GPX file
7

SYNOPSIS

9       gpxlogger [-?] [--daemonize] [--debug debug-level]
10                 [--export export-method] [--exports] [--help]
11                 [--intervaltrack timeout] [--minmove minmove]
12                 [--output filename] [--version] [-d] [-D debug-level]
13                 [-e export-method] [-f filename] [-h] [-i track timeout] [-l]
14                 [-m minmove] [-V] [server [:port [:device]]]
15

DESCRIPTION

17       This program collects fixes from gpsd and logs them to standard output
18       in GPX, an XML profile for track logging.
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,
22       --interval 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, --exports. To force the method, give
26       the -e, --export one of the colon-terminated method names from the -l,
27       --exports table.
28

OPTIONS

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, --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.
48
49           The sockets default is to all devices on the localhost, using the
50           default GPSD port 2947. An optional argument to any client may
51           specify a server to get data from. A colon-separated suffix is
52           taken as a port number. If there is a second colon-separated
53           suffix, that is taken as a specific device name to be watched.
54           However, if the server specification contains square brackets, the
55           part inside them is taken as an IPv6 address and port/device
56           suffixes are only parsed after the trailing bracket. Possible cases
57           look like this:
58
59           localhost:/dev/ttyS1
60               Look at the default port of localhost, trying both IPv4 and
61               IPv6 and watching output from serial device 1.
62
63           example.com:2317
64               Look at port 2317 on example.com, trying both IPv4 and IPv6.
65
66           71.162.241.5:2317:/dev/ttyS3
67               Look at port 2317 at the specified IPv4 address, collecting
68               data from attached serial device 3.
69
70           [FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:2317:/dev/ttyS5
71               Look at port 2317 at the specified IPv6 address, collecting
72               data from attached serial device 5.
73
74           With -e shm, --export shm this program will listen to the local
75           gpsd using shared memory.
76
77       -i SECONDS, --interval SECONDS
78           A new track is created if there's no fix written for an interval of
79           SECONDS. Defaulting to 5 seconds.
80
81       -l, --exports
82           List all possible options for -e, --export.
83
84       -m MINMOVE, --minmove MINMOVE
85           Sets a minimum move distance in meters (it may include a fractional
86           decimal part). Motions shorter than this will not be logged.
87
88       -r, --reconnect
89           Retry when GPSd loses the fix. Without -r, gpxlogger would quit in
90           this case.
91
92       -V, --version
93           Dump the package version and exit.
94

SEE ALSO

96       gpsd(8), gps(1) gpspipe(1)
97

AUTHORS

99       Amaury Jacquot <sxpert@sxpert.org> & Petter Reinholdtsen
100       <pere@hungry.com> & Chris Kuethe <chris.kuethe@gmail.com>
101
102
103
104The GPSD Project                6 December 2020                   GPXLOGGER(1)
Impressum