Hi all,
The inevitable question... is there any way to get the GPS information that the new Nike+ GPS iPhone Application is uploading to the site and plans to add it to slowgeek's site?
Thanks!
Pedro
Hi all,
The inevitable question... is there any way to get the GPS information that the new Nike+ GPS iPhone Application is uploading to the site and plans to add it to slowgeek's site?
Thanks!
Pedro
I have been meaning to look at it. Do you have some runs uploaded to your account with it? I need a few example Nike ids that have GPS runs in them to figure it out.
I've uploaded one, my most recent run, from sept 11.
http://nikerunning.nike.com/nikeos/p/nikeplus/en_US/plus/#//runs/gps/672755839/1077974080/
Right, but isn't this that run?
The device string listed is "iPhone3,1 3fb9a5c651b831b5" which is different from your other runs.
Unless you did something manually to make Slowgeek see this run, it appears they are being picked up nicely.
yeah, that's my first run from the new nike gps app... I've not seen any problems, just reporting on my initial success.
fyi, this was submitted to nike without me needing to sync, it did it over 3g, apparently, (which is awesome
)
I think the original ask-er was asking if the GPS trail data was going to become accessible on slowgeek some day?
Ryancnels is right: as there seems to be now more data associated to runs (GPS info), would it possible to get it on slowgeek if that additional information exposed through the Nike+ API?
Thanks!
The only extra data I see in that GPS run is a list of the GPS signal strength at each reading. That doesn't seem like interesting data. Cadence would be interesting, but it is all 0's.
Hi Rasmus,
I am the person behind tcx2nikeplus so I had a look at what the new iPhone application was uploading to nike+ in order to replicate it so my users can upload their gamin workouts with gps data. I found that for once their developers have done something properly and used a standard format (gpx).
I also had a poke around the nike+ website to see what they were doing to display the gpx.
You can access the gpx data at
http://nikerunning.nike.com/nikeplus/v2/services/app/get_gps_detail.jsp?_plus=true&id=<run-id>&format=json
For instance, on the previously mentioned ryancnelson run:
http://nikerunning.nike.com/nikeplus/v2/services/app/get_gps_detail.jsp?_plus=true&id=1077974080&format=json
The GPX data is in the "route" section of the returned json.
I'm not sure if you want to do anything to display the maps but there's how you get the gpx.
Thanks for creating slowgeek.
Actually, taking a look at that - they do seem to return something that is slightly their own variant.
When uploading they only accept proper gpx format:
<?xml version="1.0" encoding="UTF-8"?>
<gpx xmlns="http://www.topografix.com/GPX/1/1" creator="NikePlus" version="1.1">
<trk>
<name><![CDATA[4c888a06]]></name>
<desc><![CDATA[workout]]></desc>
<trkseg>
<trkpt lat="51.7944969579" lon="-0.0769600122">
<ele>50.5970001221</ele>
<time>2010-09-09T07:18:04Z</time>
</trkpt>
<trkpt lat="51.7945637851" lon="-0.0771970872">
<ele>48.2530232204</ele>
<time>2010-09-09T07:18:04Z</time>
</trkpt>
etc...
</trkseg>
</trk>
</gpx>
In the returned json they seem to mix things up a little - but still, the required data is all there.
Murdel, first of all excellent work and thanks for your site. Given the recent flakiness of Nike+ with iOS4, more than once I've had to use your application to convert and upload a RunKeeper run!
Have you found out how the GPX data is uploaded? If you accept suggestions, it would be great if we could add GPX data to an already existing run (I use the Nike+ sensor app and RunKeeper at the same time).
Thanks!
Pedro
I am very weary about showing gps data. Definitely not without a user's explicit consent. I guess I could show it just to the logged in user herself and then have a preferences setting where you could make it public, or perhaps a friends-only setting or something along those lines.
I think that's how the GPS data works right now at the Nike+ site. Only the owner can see the map and I don't know if there are options for making it public.
The RunKeeper guys show only the maps to you and your "Street Team" (that is, to your friends).
Serebro, I did work out how the gpx workouts are uploaded, unfortunately as far as I'm aware it is not possible to add gpx data to an existing run on the nike+ site.
Thanks
Thanks Murdel! At least we could upload a tcx and have both the route and the pace graph!
Have you tried downloading the run's xml, adding the route node and reuploading? Do you think such a thing could be done?
Thanks for your efforts, Murdel.
Hi Serebro. I think it would be a bit fiddly for the average user:
- Find the garmin activity id
- Find the nike+ id
- Populate a form with their values
- Click convert/update/whatever...
The app would then have to convert the gamin run, delete the old workout from nike+ and upload the new version with gps data and end the sync. Not too big a deal but the nike+ API is ridiculously slow. You'll notice it quite often takes about 30 seconds+ for my converter to upload a single workout to nike+, the conversion itself takes a few milliseconds, the rest of the time is waiting for nike's web services to accept/confirm the upload.
If you wanted to put some of your old runs onto nike with GPS you have 2 options:
1: Delete your runs on the nike+ site & then use the tcx2nikeplus converter again.
2: Depending how technical you are you can get the tcx2nikeplus source code and there's some shell scripts for conversion/upload.
Cheers
Murdel,
I didn't know you had already implemented GPS upload. Very nice!
I wanted to add GPS info to existing Nike+ runs because those were created with the sensor based Nike+ app. I always run with RunKeeper in the background, so I have the GPS data for them.
I gave the source code a look and I think I should be able to put something together. Thanks for sharing it!
Pedro
Hi,
first let me say thanks for this fantastic page you created.
I had a look at the json file with the GPS data and calculated the pace of a few runs according to the GPS data. For the new Nike+ GPS app this seems to be much more accurate then the speed values that are in the raw data.
I think if you look at the Nike page, they use the GPS Data for the little pace graph on the Route view and the cadence/speed data for the big pace graph.
Is there a possibility that you could include the option to display the speed according to cadence for the Nike+ users and according to the GPS for the Nike+ GPS users?
I wrote a conversion script that takes the JSON data from the URL Murdel posted and turns it into GPX. It's pretty basic, and you need to download the JSON manually first, but I've used it to import about 30 runs into RunKeeper.
Thanks for posting that URL, that really made my transition to RK much easier! Does anybody know how to get a list of all the run IDs for a user? If I have that, I might turn this into a little website so non-technical users can free their data from Nike's iron grip.
Found it. Here's how to get the list of all runs:
http://nikerunning.nike.com/nikeplus/v2/services/app/run_list.jsp?userID=<numerical user id>
It ignores the format=json parameter, so it only gives you XML, but it works nicely.
You must log in to post.