GPXLOGGER(1)
π GPXLOGGER(1) β the gpxlogger glow-up β¨
okay bestie, welcome to the gpxlogger page from the GPSD Documentation set. she's a little program with big main-character energy and she's about to make your GPS tracks look β¨immaculateβ¨.
πΈ NAME πΈ
gpxlogger β the tool that links up with gpsd and makes you a GPX file. that's it. that's the job. π
π¦ SYNOPSIS π¦
gpxlogger [OPTIONS] [server[:port[:device]]]
gpxlogger -h
gpxlogger -V
π DESCRIPTION π
so like, the gpslogger program collects fixes from gpsd and logs them to standard output in GPX format, which is an XML profile for track logging. it does not need to run as root, but she can run as root if that's the vibe. no gatekeeping here. π«Ά
the output may be composed of multiple tracks, bestie. a brand new track gets created if there's no fix written for an interval specified by the -i or --interval option β and that interval defaults to 5 seconds. periodt.
gpxlogger can use any of the export methods that gpsd supports. wanna see the whole menu? use the -l or --exports option. and to force a specific method, hand her the -e, --export option followed by one of those colon-terminated method names from the -l, --exports table. iykyk. π
β¨ OPTIONS β¨
-?,-h,--helpβ prints a lil summary of all the options and then dips. classic. π-d,--daemonizeβ runs as a daemon in the background, lowkey living her own life. it requires the-f,--outputoption, which points the output at a specified logfile. no logfile, no daemon era. π«-D LVL,--debug LVLβ sets the debug level. it's mainly for troubleshooting, and it turns on various progress messages that go to standard error. she's telling you everything, fr fr. π-e METHOD,--export METHODβ if D-Bus support is available on the host, GPSD is configured to use it, and you specify-e dbusor--export dbus, then this program listens to DBUS broadcasts fromgpsdviaorg.gpsd.fix. very demure, very mindful. π
with -e sockets, or if sockets is the method defaulted to, you may give a [server[:port[:device]]] specification as arguments. see the ARGUMENTS section below for the deets. π
with -e shm, --export shm, this program will listen to the local gpsd using shared memory. sneaky, fast, iconic. π¨
-f OUTFILE,--output OUTFILEβ outputs the GPX logg to fileOUTFILEinstead of tostdout. you may usestrftime(3)options inOUTFILE. yes, that means date-stamped filenames, go off. ποΈ-F INFILE,--filein INFILEβ reads gpsd JSON from fileINFILEinstead of from agpsddaemon. offline mode, she's independent. π-g,--garminβ enables Garmin extensions to the GPX format. this lets depth also be logged in the gpx output. π« NOT compatible with Google maps. pick a lane, bestie.-i SECONDS,--interval SECONDSβ a new track is created if there's no fix written for an interval ofSECONDS. defaults to5seconds. β±οΈ-l,--exportsβ lists all the possible options for-e,--export. window shopping, but make it technical. ποΈ-m MINMOVE,--minmove MINMOVEβ sets a minimum move distance in meters (and yes it may include a fractional decimal part, she's precise like that). motions shorter than this will not be logged. if you're not moving, you're not in the file. πΆβοΈ-r,--reconnectβ retries when GPSd loses the fix. without-r,gpxloggerwould just quit in this case. she's sensitive like that. π-V,--versionβ dumps the package version and exits. showing off, deservedly. π
π ARGUMENTS π
by default, clients collect data from the local gpsd daemon running on localhost, using the default GPSD port 2947. the optional argument to any client may override this behavior:
[server[:port[:device]]]
for further explanation, and examples, see the ARGUMENTS section in the gps(1) man page. go read it, bestie, it's giving homework but it's worth it. π
π RETURN VALUES π
0β on success. slay. π1β on failure. it's giving flop, but we recover. π
Notespxloggersends error messages to the system log, not tostderr. so if you're staring at your terminal wondering why she's silent... she's not silent, she's just journaling elsewhere. π
π EXAMPLES π
to daemonize, and output the gpx log to a date stamped filename:
$ gpxlogger -d -f "out-%c.gpx"
go forth and log. π
π₯ SEE ALSO π₯
β RESOURCES β
project web site: https://gpsd.io/ β the mothership, the main hub, the source. πΈ
π COPYING π
this file is Copyright 2013 by the GPSD project.
SPDX-License-Identifier: BSD-2-clause
π§ AUTHORS π§
- Amaury Jacquot
- Petter Reinholdtsen
- Chris Kuethe
and that's the whole page, bestie!! π this was GPSD, Version 3.27.5, dated 2025-11-04 β the GPXLOGGER(1) manual page, brought to you with love and zero skipped options. now go log some tracks. πΈπ¦β¨
π¦ where this page comes from
- arch rolling: gpsd 3.27.5-1 Β· BSD
- fedora 44: gpsd-clients 1:3.27.5-3.fc44 Β· BSD-2-Clause
- fedora 44: gpsd-clients 1:3.27.5-5.fc44 Β· BSD-2-Clause
- nixos 26.05: gpsd 3.27.5
- nixpkgs unstable: gpsd 3.27.5
- opensuse-leap 16.0: gpsd-clients 3.27.5-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: gpsd-clients 3.27.5-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: gpsd-clients 3.27.5-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: gpsd-clients 3.27.5-160000.1.1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms