gpxlogger.adoc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. = gpxlogger(1)
  2. Amaury Jacquot; Petter Reinholdtsen; Chris Kuethe
  3. :email_1: sxpert@sxpert.org
  4. :email_2: pere@hungry.com
  5. :email_3: chris.kuethe@gmail.com
  6. :date: 25 February 2021
  7. :keywords: gps, gpsd, gpx, gpxlogger
  8. :manmanual: GPSD Documentation
  9. :mansource: GPSD, Version {gpsdver}
  10. :robots: index,follow
  11. :sectlinks:
  12. :toc: macro
  13. :type: manpage
  14. :webfonts!:
  15. include::../www/inc-menu.adoc[]
  16. == NAME
  17. gpxlogger - Tool to connect to gpsd and generate a GPX file
  18. == SYNOPSIS
  19. *gpxlogger* [OPTIONS] [server[:port[:device]]]
  20. *gpxlogger* -h
  21. *gpxlogger* -V
  22. == DESCRIPTION
  23. *gpslogger* program collects fixes from *gpsd* and logs them to standard output
  24. in GPX format, an XML profile for track logging. It does not need
  25. to run as root, but can run as root.
  26. The output may be composed of multiple tracks. A new track is created if
  27. there's no fix written for an interval specified by the
  28. *-i* or *--interval* option and defaulting to 5 seconds.
  29. *gpxlogger* can use any of the export methods that *gpsd* supports. For
  30. a list of these methods, use the *-l* or *--exports* option. To force
  31. a method, give the *-e*, *--export* option folloed by one of the
  32. colon-terminated method names from the *-l*, *--exports* table.
  33. == OPTIONS
  34. *-?*, *-h*, *--help*::
  35. Print a summary of options and then exit.
  36. *-d*, *--daemonize*::
  37. Run as a daemon in background. It requires the *-f, --output*
  38. option, which directs output to a specified logfile.
  39. *-D LVL*, *--debug LVL*::
  40. Sets the debug level, it is primarily for troubleshooting. It enables
  41. various progress messages to standard error.
  42. *-e METHOD*, *--export METHOD*::
  43. If D-Bus support is available on the host, GPSD is configured to use
  44. it, and *-e dbus*, or *--export dbus* is specified, this program
  45. listens to DBUS broadcasts from *gpsd* via org.gpsd.fix.
  46. +
  47. With *-e sockets*, or if sockets is the method defaulted to, you may
  48. give a [server[:port[:device]]] specification as arguments. See the
  49. *ARGUMENTS* section below for more details.
  50. +
  51. With *-e shm, --export shm* this program will listen to the local
  52. *gpsd* using shared memory.
  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. *-l*, *--exports*::
  57. List all possible options for *-e, --export*.
  58. *-m MINMOVE*, *--minmove MINMOVE*::
  59. Sets a minimum move distance in meters (it may include a fractional
  60. decimal part). Motions shorter than this will not be logged.
  61. *-r*, *--reconnect*::
  62. Retry when GPSd loses the fix. Without *-r*, *gpxlogger* would quit in
  63. this case.
  64. *-V*, *--version*::
  65. Dump the package version and exit.
  66. == ARGUMENTS
  67. By default, clients collect data from the local *gpsd* daemon running
  68. on localhost, using the default GPSD port 2947. The optional argument
  69. to any client may override this behavior: *[server[:port[:device]]]*
  70. For further explanation, and examples, see the *ARGUMENTS* section in
  71. the *gps*(1) man page
  72. == RETURN VALUES
  73. *0*:: on success.
  74. *1*:: on failure
  75. == SEE ALSO
  76. *gpsd*(8), *gps*(1)
  77. == RESOURCES
  78. *Project web site:* {gpsdweb}
  79. == COPYING
  80. This file is Copyright 2013 by the GPSD project +
  81. SPDX-License-Identifier: BSD-2-clause