Data and techie stuff thread for BAFS 2016
Our Community › Forums › Freezing Saddles Winter Riding Competition › Data and techie stuff thread for BAFS 2016
- This topic has 133 replies, 34 voices, and was last updated 9 years, 1 month ago by
hozn.
-
AuthorPosts
-
January 26, 2016 at 11:29 pm #1046256
elwbikes
Participant@hozn 133292 wrote:
I can provide you/someone with activity IDs if they want to generate heat maps or look into how this is done.
Is that easy or hard? Basically, I want an easy way to figure out my “around the country” and “around the world” prizes. Alternately, I could ask people to self-submit and then check. Happy to learn how to do it, thank you!
January 26, 2016 at 11:52 pm #1046263hozn
Participant@elwbikes 133320 wrote:
Is that easy or hard? Basically, I want an easy way to figure out my “around the country” and “around the world” prizes. Alternately, I could ask people to self-submit and then check. Happy to learn how to do it, thank you!
I don’t know. I have never made a Strava heat map. But you are welcome to research it
January 27, 2016 at 2:38 pm #1046283jwetzel
Participant@hozn 133327 wrote:
I don’t know. I have never made a Strava heat map. But you are welcome to research it
This page may be useful. http://www.jonathanokeeffe.com/strava/multi-ride-mapper/
January 27, 2016 at 4:33 pm #1046318elwbikes
Participant@jwetzel 133366 wrote:
This page may be useful. http://www.jonathanokeeffe.com/strava/multi-ride-mapper/
Oh, thanks! Except I wish I could look at the entire FS community’s Strava rides. HMM….
January 27, 2016 at 6:35 pm #1046308hozn
Participanthttps://developers.google.com/maps/documentation/javascript/examples/layer-heatmap
If someone wants to tackle that, I will expose the API to return GPX for the routes.
January 28, 2016 at 2:53 pm #1046424chris_s
Participant@hozn 133409 wrote:
https://developers.google.com/maps/documentation/javascript/examples/layer-heatmap
If someone wants to tackle that, I will expose the API to return GPX for the routes.
I’ll do it! Hook me up!
January 28, 2016 at 4:24 pm #1046436hozn
Participant@chris_s 133497 wrote:
I’ll do it! Hook me up!
Darn it! I mean, awesome!
Ping me at hans-at-velum.net and we will discuss api.
January 28, 2016 at 6:52 pm #1046445elwbikes
ParticipantYou guys are awesome!!!!
January 29, 2016 at 2:26 pm #1046496Anonymous
GuestWith the increase in number of participants, it’s no longer possible for most of us (well, me) to find ourselves on one of my favorite charts: http://freezingsaddles.com/explore/indiv_elev_dist
Would it be a difficult change to have your own bubble appear on top when you are logged in?
January 29, 2016 at 2:59 pm #1046499Steve O
Participant@Amalitza 133570 wrote:
With the increase in number of participants, it’s no longer possible for most of us (well, me) to find ourselves on one of my favorite charts: http://freezingsaddles.com/explore/indiv_elev_dist
Would it be a difficult change to have your own bubble appear on top when you are logged in?
I’ve been riding up a bunch of extra hills in an attempt to move my bubble above the crowd. Getting close.
January 29, 2016 at 5:01 pm #1046524Anonymous
Guest@Steve O 133573 wrote:
I’ve been riding up a bunch of extra hills in an attempt to move my bubble above the crowd. Getting close.
Tried that.
https://www.strava.com/activities/480881666/overviewNearly as I can tell, I’d have to do nothing but ride up and down this hill for the rest of the winter to move up past IanB who has 234 miles to my 238, but over 16K ft of climbing. How is this even possible?
January 29, 2016 at 5:13 pm #1046526hozn
Participant@Amalitza 133599 wrote:
Tried that.
https://www.strava.com/activities/480881666/overviewNearly as I can tell, I’d have to do nothing but ride up and down this hill for the rest of the winter to move up past IanB who has 234 miles to my 238, but over 16K ft of climbing. How is this even possible?
Yeah, the data looks accurate for IanB. He was riding some mountains, I guess!
As for the chart, there’s no easy way [that I am aware of] to specify order/z-layer of the bubbles, or even color. But I acknowledge that it’s a lot less usable than it used to be. We could probably provide some filtering (e.g. show me just my team, etc.). We’re also switching over [slowly, amidst other tasks] to Highcharts for the charts, which might make it easier to tweak the display of the data.
January 29, 2016 at 6:33 pm #1046541chris_s
Participant@Amalitza 133570 wrote:
With the increase in number of participants, it’s no longer possible for most of us (well, me) to find ourselves on one of my favorite charts: http://freezingsaddles.com/explore/indiv_elev_dist
Would it be a difficult change to have your own bubble appear on top when you are logged in?
I just sent hozn some code that may make it possible to push your bubble to the forefront automatically. In the meantime, I’ve created a bookmarklet that does the same job that you could try if you’re feeling brave.
Just go to this URL:
http://mizook.com/bubble.asp?u=
For Example: http://mizook.com/bubble.asp?u=Chris+Sland drag the link that appears into your bookmarks. Then go to the altitude chart as you usually would & click your new bookmark. It should pop your bubble to the front.
January 29, 2016 at 6:38 pm #1046544hozn
ParticipantMan, this chris_s guy is making a liar out of me. Just kidding; I am super grateful for the help. (I will work to get that incorporated, though might wait for the highcharts version of the graph.)
January 31, 2016 at 4:28 am #1046650hozn
ParticipantHi folks. I’ve made lots of changes today to the freezingsaddles backend to optimize how we’re fetching and refetching/refreshing data and how we’re handling photos. I also was granted a 4x increase in API rate limit from the folks at Strava, so that helps too. Please let me know if you see things that are broken; my work has been on the sync scripts and I have not done a whole lot to validate that I didn’t accidentally break something in the web interface.
One thing you may notice right away is that the homepage doesn’t look quite so neat anymore. This is as a result of now supporting native Strava (not just Instagram) photos. Note: due to limitations in Strava API only primary/first non-Instagram photo will be added. Anyway, different cameras, different dimensions: not all perfect little squares like Instagram. I’m not going to worry much about the display just now, since I think we need to rethink how we do photos anyway.
… Plus, with the work @chris_s is doing on heatmaps, we might want to give some of the homepage realestate to mapping. So, yeah, heatmaps are gonna happen. I’ve got the backend storing all the GPS tracks and Chris is doing the lifting on the frontend side.
What does this mean for privacy? Good question. We don’t store GPS tracks for rides marked “private”. If you did not give the application access to read “private” data then it also will respect any privacy zones. If you /did/ give the application access to private data, then it will ignore your privacy zones. However, we are also not associating GPS tracks with individuals. The plan is to build heatmaps for teams — and probably one or more overview heatmaps. I’m not saying someone couldn’t narrow down lines on a team heatmap to an individual based on other data, but we’re at least thinking about this. If you’re worried about the privacy, then I would recommend changing your authorization to not allow the app to read private data. (Yes, then you’ll lose points for any activities marked private; that’s the price.)
[*] We only support the primary/first photo when you use Strava directly to host the images (i.e. not Instagram). This is due to the fact that their API only returns the full photo list for Instagram photos. Not sure if it’s really broken or just misdocumented, but it does not work as advertised. -
AuthorPosts
- You must be logged in to reply to this topic.