Export Apple Watch and iPhone workout routes as GPX
When you record an outdoor workout such as Hiking or Walking on Apple Watch, the route is saved in Health. Turn it into a GPX file and you can use it to geotag your camera photos.
Updated 2026-11-23
Record a workout
When you set off, start an outdoor workout (such as Hiking or Walking) in the Workout app on Apple Watch. The route is saved to Health and Fitness on your iPhone when you finish.
Export it as GPX
Use an app that reads Health data and exports routes as GPX. On the App Store you’ll find apps such as:
- GPX Export: exports the routes of your Fitness workouts as GPX
- WorkoutGPX: exports GPX with timestamps, elevation and coordinates
The first time, allow the app to read Workouts and Workout Routes in Health. Save the exported GPX to iCloud Drive with Save to Files.
Recording with a hiking app
Many hikers record with a hiking app instead. See these guides:
Use the exported GPX in pinStack
Keep your GPX files in one folder
Save the exported GPX files in the same folder in the Files app (such as iCloud Drive). In pinStack, go to Settings → GPX folder → Choose GPX folder and select that folder.

Find photos in Add shooting locations
Pick the camera photos with Photos without locations, From a photo album and so on. You can also choose From a GPX file to import a track directly.

Match them with GPS tracks
Open the shooting session and tap GPX → Compare GPS tracks to find tracks that overlap it. Photos are sorted into Found, Check and Not found, and laid out on the map.

Fix the camera clock
If the camera clock is off, open Time sync. Choose photos of the same scene taken with the camera and your iPhone, and pinStack estimates the offset. Fine-tune it by the second and watch the photos move on the map.

Decide on photos marked Check
Photos in a track gap are never guessed. Compare them with the photos before and after, then choose Same place as the previous photo or move the pin on the map.

Review, then apply
In Review changes, check which photos get a location and which stay unchanged, then apply. Original locations are kept, so Undo location update takes you back.

FAQ
Can I record with just an iPhone?
Yes. Without Apple Watch, record with a hiking or GPS logger app on your iPhone and export the GPX.
Can I use the photos I took on my iPhone?
Yes. pinStack can also use the locations of iPhone photos taken at the same time. Even without a GPX, iPhone photos can place your camera photos.