Exported health data has invalid GPX workout route files after iOS 14 update

After updating to iOS 14, exported health data is incorrect. The GPX files under 'applehealthexport/workout-routes' are valid but contain now coordinate data and are all exactly 438 bytes in size.


Outside of GPX data missing coordinate data, route maps are no longer shown in the Activity App for past workouts, and new workouts show a map with just the starting point of a hike. I have not tested workouts outside of hiking.


Possibly related, exporting of health data now takes 40 minutes, instead of a few minutes with the zip file size being 192MB, and a decompressed size of 6.62GB.


Under iOS 13 the zip file size was 435.8MB, and a decompressed size of 6.84GB

Posted on Sep 21, 2020 12:18 PM

Reply
15 replies

Oct 2, 2020 12:09 PM in response to zimix

Correction, now that I've fully processed the XML file these HealthKit Quantities are missing:


HKCategoryTypeIdentifierAppleStandHour

HKCategoryTypeIdentifierAudioExposureEvent

HKCategoryTypeIdentifierHighHeartRateEvent

HKCategoryTypeIdentifierMindfulSession

HKCategoryTypeIdentifierSleepAnalysis

HKQuantityTypeIdentifierAppleExerciseTime

HKQuantityTypeIdentifierAppleStandTime

HKQuantityTypeIdentifierDistanceCycling

HKQuantityTypeIdentifierEnvironmentalAudioExposure

HKQuantityTypeIdentifierFlightsClimbed

HKQuantityTypeIdentifierHeadphoneAudioExposure

HKQuantityTypeIdentifierHeartRateVariabilitySDNN

HKQuantityTypeIdentifierRestingHeartRate

HKQuantityTypeIdentifierStairAscentSpeed

HKQuantityTypeIdentifierStairDescentSpeed

HKQuantityTypeIdentifierVO2Max

HKQuantityTypeIdentifierWalkingAsymmetryPercentage

HKQuantityTypeIdentifierWalkingDoubleSupportPercentage

HKQuantityTypeIdentifierWalkingHeartRateAverage

HKQuantityTypeIdentifierWalkingSpeed

HKQuantityTypeIdentifierWalkingStepLength

Sep 21, 2020 12:39 PM in response to zimix

I think the more places it gets logged the better.


In one of the threads I read (sorry, can't find it right now), people tried a lot of different things with no success. There didn't seem to be any easily identifiable correlation with a particular model iPhone or Watch. Someone with the exact same configuration as I (11 Pro, Watch 4) was having the problem and I'm not.


Hopefully, it will get sorted quickly. It would drive me crazy if the maps didn't show up.

Oct 2, 2020 10:42 AM in response to zimix

After following the above instructions for 3 Apple Watches and an iPhone 11 Pro Max, new walk workouts have maps, but all of the map data is still missing for the thousands of previous workouts. Unlike before, previous workouts have a map shown in Fitness, but it includes only the starting point of the hike or walk. My Paddle Logger workouts do not show a map at all, as before.  


Health data now exports on the order of a few minutes instead of hours, but the export.zip file has shrunk from 435MB to 176MB, where the 435MB file is from an export before there was an issue dated 9/13/2020. Further, the export.xml contained in the export has grown from 3.79GB to 4.57GB, but the extracted directory does not contain a workout-routes directory.


So the above solution does not work.

Sep 21, 2020 12:26 PM in response to zimix

I strongly recommend that you report this to Apple. While the lack of maps in Fitness (formerly Activity) isn't affecting everyone, it does seem to be an issue for a number of people. It may or may not be related to this and it may or may not be related to some increase it battery use for some people. Especially with bugs that don't affect large numbers of people, the more people who have the problem who do report it, the more likely it is to get attention.


You can use the feedback page:


Product Feedback - Apple


You won't get a reply but the feedback will be read and the issue logged.


You can also contact support (see the link at the top right of every page) and let them know.


Best of luck.

Sep 22, 2020 8:03 AM in response to lasmit

@lasmit


Health -> Summary -> Account Button (right of Summary title) -> Export All Health Data


This will generate an 'export.zip' file. The file contains a directory 'apple_health_export' under which you'll find 'workout-routes' which contains timestamped GPX files for all your workouts that have a map associated with them.

Sep 23, 2020 12:00 PM in response to zimix

What you suggests has stopped working in iOS 14 and that is exactly the problem this thread is addressing. 'export.zip now only contains empty property lists like...

route_2016-12-14_2.09am.gpx


<?xml version="1.0" encoding="UTF-8"?>

<gpx version="1.1" creator="Apple Health Export" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">

<metadata>

<time>2020-09-23T18:14:55Z</time>

</metadata>

<trk>

<name>Route 2016-12-14 2:09am</name>

<trkseg>

</trkseg>

</trk>

</gpx>

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Exported health data has invalid GPX workout route files after iOS 14 update

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.