Treadmill integration and weighted vest with HealthKit

I don't understand why elevation data is not stored in the sample using a standard length unit. Why is it stored in HKQuantityTypeIdentifier.flightsClimbed (which is 10 feet)? Surely it is not a memory usage issue.

Treadmill GATT provides elevation in meters. Using HKMetadataKeyElevationAscended for the total elevation gain throws away a lot of data.

Why is there no support for weighted vest or backpack? Changing body weight is not the same and provides incorrect energy. Users want to compare workouts with different weights. I don't see any metadata key for carried weight.

I think it's worth a feedback report to request better treadmill integration in HealthKit. Do you have a feedback report yet? If not, would you mind to file one and share your report ID here?

Also, does it make sense for you to store elevation data as altitude points in the workout route, assuming your app can grab the elevation data from the treadmill?

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Thank you. I will complete the feedback report. Best regards.

Treadmill integration and weighted vest with HealthKit
 
 
Q