Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

REBELinBLUE

macrumors 6502
Original poster
Oct 2, 2007
295
36
London, UK
I have reconstructed the XML file from the run I lost today due to my own mistake, using the sqlite DB on the iPhone (I stupidly clicked the sync with nike+ button in 4.1 even though the docs say it doesn't work >_<)

However, I am having trouble working out one of the fields, everything else was easy but I can't figure out the <pace> in <snapShot> items

http://www.rebelinblue.com/skitch/Formatted_Data-20100716-231124.png

If you look at that screenshot you will see on the left the mileSplit data in a real Nike+ XML file and on the right you will see the related mileSplit data stored in the sqlite DB. Duration was easy, the DB is in seconds, the XML is in milliseconds and the distance was easy as well, the DB is in miles but the XML is in KM.

But I just can't for the life of me figure out the pace.

Does anyone have any ideas?

Thanks
 
oops you're right, not sure how I ended up in the iPhone forum. It's late, that’s my excuse ;)

Can a mod move this somewhere more appropriate please?
 
In fact it doesn't matter, this can be closed.

Someone just figured it out for me. Multiplying ZPACEINSECONDSPERMILE by 37282.2727 gives the pace, god knows what that is though
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.