| Crates.io | fit2gpx |
| lib.rs | fit2gpx |
| version | 0.6.1 |
| created_at | 2024-07-04 17:48:12.011405+00 |
| updated_at | 2025-07-21 15:43:29.448811+00 |
| description | .fit to .gpx converter |
| homepage | |
| repository | https://github.com/jarjk/fit2gpx-rs |
| max_upload_size | |
| id | 1291956 |
| size | 43,617 |
chmod +x $fit2gpx-binaryYou could use eget or something similar as well: eget jarjk/fit2gpx-rs
finally: ./fit2gpx --help
git clone --depth 1 "https://github.com/jarjk/fit2gpx-rs"
cd fit2gpx-rs
cargo install --locked --path .
# without installing to ...cargo/bin/fit2gpx: cargo r (--release) -- -h
see fit2gpx --help
let's say you want to convert a_lovely_evening_walk.fit to a_lovely_evening_walk.gpx
in that case, you'd do the following
fit2gpx a_lovely_evening_walk.fit
if you also want to add elevation data, as the .fit file didn't contain any, follow these steps
short:
fit2gpx::Fit::file_to_gpx("walk.fit").unwrap();
see docs or examples for more detailed usage
This is a simple Rust library and binary for converting .fit files to .gpx files.
I've written it, being fed up waiting for conversion of a strava bulk export while creating
awesome plots with this tool: stravavis.
A significantly faster alternative to the great (but not frequently updated) fit2gpx with the ability to add elevation data while converting.
Yes.
.hgt files downloaded
one great source is Sonny's collection, it's only for Europe though.hgt files to a single directory$ELEV_DATA_DIR to that very directory or pass --elev_data_dir ~/my_elevation_data_direlevation feature is enabled, it's the default--add_elevation | -a flag to fit2gpxgpx lib doesn't support gpx extensions, so neither do we. After this issue is resolved, this shall be resolved soon.
.gz files. solution: in your activities directory run gzip -d *.gzactivities.csv file