One more request. When the activity does not have latitude data there are probably other useful pieces of information that would help adding it manually (which is what I did for entries that were stationary).
I used start date, end date, duration, and distance to at least match what I have in NRC for runs that I correctly started as indoors.
maybe you could extract that data from the json and print them in the console, rather than just print the error about latitude data not being there.
One more request. When the activity does not have latitude data there are probably other useful pieces of information that would help adding it manually (which is what I did for entries that were stationary).
I used start date, end date, duration, and distance to at least match what I have in NRC for runs that I correctly started as indoors.
maybe you could extract that data from the json and print them in the console, rather than just print the error about latitude data not being there.