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 [-D debug-level] [-d] [-e export-method] [-f filename] [-l]
10                 [-m minmove] [-h] [-V] [-i track timeout] [server [:port
11                 [:device]]]
12

DESCRIPTION

14       This program collects fixes from gpsd and logs them to standard output
15       in GPX, an XML profile for track logging.
16
17       The output may be composed of multiple tracks. A new track is created
18       if there's no fix written for an interval specified by the -i and
19       defaulting to 5 seconds.
20
21       gpxlogger can use any of the export methods that gpsd supports. For a
22       list of these methods, use the -l. To force the method, give the -e one
23       of the colon-terminated method names from the -l table.
24

OPTIONS

26       The -h option causes gpxlogger to emit a summary of its options and
27       then exit.
28
29       The -V option causes gpxlogger to dump the package version and exit.
30
31       The -D option sets a debug level; it is primarily for use by GPSD
32       developers. It enables various progress messages to standard error.
33
34       The -d option tells gpxlogger to run as a daemon in background. It
35       requires the -f option, which directs output to a specified logfile.
36
37       The -m option sets a minimum move distance in meters (it may include a
38       fractional decimal part). Motions shorter than this will not be logged.
39
40       The -r option tells gpxlogger to retry when GPSd loses the fix. Without
41       -r, gpxlogger would quit in this case.
42
43       If D-Bus support is available on the host, GPSD is configured to use
44       it, and -e dbus is specified, this program listens to DBUS broadcasts
45       from gpsd via org.gpsd.fix.
46
47       With -e sockets, or if sockets is the method defaulted to, you may give
48       a server-port-device specification as arguments.
49
50       The sockets default is to all devices on the localhost, using the
51       default GPSD port 2947. An optional argument to any client may specify
52       a server to get data from. A colon-separated suffix is taken as a port
53       number. If there is a second colon-separated suffix, that is taken as a
54       specific device name to be watched. However, if the server
55       specification contains square brackets, the part inside them is taken
56       as an IPv6 address and port/device suffixes are only parsed after the
57       trailing bracket. Possible cases look like this:
58
59       localhost:/dev/ttyS1
60           Look at the default port of localhost, trying both IPv4 and IPv6
61           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 data
68           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 data
72           from attached serial device 5.
73

SEE ALSO

75       gpsd(8), gps(1) gpspipe(1)
76

AUTHORS

78       Amaury Jacquot <sxpert@sxpert.org> & Petter Reinholdtsen
79       <pere@hungry.com> & Chris Kuethe <chris.kuethe@gmail.com>
80
81
82
83The GPSD Project                  05 Mar 2017                     GPXLOGGER(1)
Impressum