| Crates.io | alltrailsgpx |
| lib.rs | alltrailsgpx |
| version | 0.1.0 |
| created_at | 2025-02-14 07:43:51.514233+00 |
| updated_at | 2025-02-14 07:43:51.514233+00 |
| description | Get GPX files from Alltrails |
| homepage | |
| repository | https://github.com/cdown/alltrailsgpx |
| max_upload_size | |
| id | 1555381 |
| size | 19,586 |
alltrailsgpx creates a GPX file from AllTrails route data, even if you don't have the region unlocked. It extracts the map drawing data directly from the AllTrails API response and converts it into a GPX track.
cargo install alltrailsgpx
First, get the input file.
https://www.alltrails.com/en-gb/trail/england/bristol/bristol-and-abbots-leigh-circular)https://www.alltrails.com/api/alltrails/v3/trails/{route_id})Now you can provide this response to alltrailsgpx. By default the GPX is read from stdin and written to stdout, but you can also output it to a file. For example:
alltrailsgpx -i route.json -o route.gpx