I am trying to create a python app to upload workout data to be stored in google fit.
I am trying to get the map to show the path of my run. I have uploaded a dataset using com.google.location.sample which includes lat, lon, accuracy and elevation. I know that the data is being stored since running a "get" dataset returns the values I entered. I also know that the GPS points are registering because I get a map of the area where the session happened but there is no "path" of the actual run. I also know that all the points are being received since I have run this path a few times but different distances each time and the map zooms in/out based on how far I go.
This is a sample of what I get. Is there some way to get the rest API to register and show the actual path as well as a graph for elevation? My code can be seen here:
https://github.com/omriasta/ifitsync
And here is a "GET" of the dataset from the google fit api:
https://gist.github.com/omriasta/e1d8c85677092ed89a25126e4b334e41
Does anyone know why the Google Fit App will not display a map with the path for this dataset?
Through Trial and error it appears that the path will not be drawn unless the activity type is Running (integer 8). It appears that Treadmill Runs will not display the map even if they have location samples.