Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following command show basic usage of gpsclient to connect to a running gpsd/gpstrakgpstrack-runner instance.

Code Block
# connect to tcp://localhost:2947 and log the received records
gpsclient


# connect to tcp://localhost:2948 and log the received records
gpsclient -u tcp://localhost:2948

# connect to tcp://localhost:2947 and view the records in a curses interface
gpsclient -c

# connect to tcp://localhost:2948 and view the records in a curses interface
gpsclient -c -u tcp://localhost:2948

...

Code Block
# Replay file tmp.gpstrack.gz, emitting one TPV record a second.
gpsclient -u 'tmp.gpstrack.gz?interval=1'
 
# Replay file tmp.gpstrack.gz, emitting one TPV record a second and faking timestamps.
gpsclient -u 'tmp.gpstrack.gz?interval=1&fake_timestamps=true'

# Replay file tmp.gpstrack.gz, emitting one TPV record a second mapping timestamps.
gpsclient -u 'tmp.gpstrack.gz?interval=1&start_timestamp=2014-05-02T10:00:00Z'

Getting information on a track

A summary on the contents of a gpstrack file may be retrieved by calling

Code Block
gpsclient -q -i -u /var/spool/gpstrack-runner/20170221_BerlinUmgeb.gpstrack.gz

Converting NMEA logfiles

NMEA logfiles created by gpsmon -l may be converted by the schell script gpslog2gpstrack

Code Block
gpslog2gpstrack tmp.log tmp.gpstrack.gz

gpstrack-runner Daemon

The gpstrack-runner Daemon is contained in the debian package gpstrack-runner and may be started by

...