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 ago by hozn.
Viewing 15 posts - 61 through 75 (of 134 total)
  • Author
    Posts
  • #1046650
    hozn
    Participant

    Hi 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.

    #1047079
    chris_s
    Participant

    Sneak Preview for those who bother to follow this thread:

    http://dcbikemap.com/heat/

    It’s a slow proof of concept right now, and it will only be updated sporadically…but it’s pretty cool.

    An “all participants” heatmap is going to have to wait for performance improvements.

    #1047081
    hozn
    Participant

    @chris_s, this is really awesome!

    #1047089
    elwbikes
    Participant

    Wow, Chris S! That is spectacular!!! It will make my “around the world” and “around the country” pointless prize winners much easier to spot!!! Thank you!!!

    #1047091
    chris_s
    Participant

    An alternate heatmap view built on different tech that I’m playing around with: http://dcbikemap.com/heat/leaflet.html

    #1047117
    vvill
    Participant

    @chris_s 134199 wrote:

    An alternate heatmap view built on different tech that I’m playing around with: http://dcbikemap.com/heat/leaflet.html

    This one’s even better!

    Great to see my team has ridden around so much of the DC area, not to mention in Pittsburgh, MA, FL, OR, CA. Really interesting to see all the team distributions and how some of the local teams have stayed west of the river compared to others.

    #1047119
    jrenaut
    Participant

    I’m planning to go out the W&OD today because my team’s heatmap shows me that none of us have yet.

    #1047142
    chris_s
    Participant

    @vvill 134226 wrote:

    This one’s even better!

    Leaflet seems faster to me and I like how I can make the basemap fade more into the background to really highlight the actual heat map.

    Does anyone else have an opinion on the relative merits of the two versions?

    #1047146
    Subby
    Participant

    Both are great but the second one looks cooler.

    #1047154
    chris_s
    Participant

    Wow.

    We get around.

    all-participants.png

    Stay tuned.

    #1047157
    Vicegrip
    Participant

    Very cool stuff. Thank you for the time spent.

    #1047623
    Judd
    Participant

    Hey hozn,

    What Strava segment is used to determine whether a Hains Point lap is completed on the leaderboards? Team 13 and Team 3 are battling it out for most HP laps. We think it might be the Gate to Gate segment, but we’re not sure. There’s lots of places that one can start and finish a lap at HP and we want to make sure that we’re not losing laps by starting or finishing in the wrong place.

    Thans for the help!

    #1047606
    vvill
    Participant

    @Judd 134769 wrote:

    Hey hozn,

    What Strava segment is used to determine whether a Hains Point lap is completed on the leaderboards? Team 13 and Team 3 are battling it out for most HP laps. We think it might be the Gate to Gate segment, but we’re not sure. There’s lots of places that one can start and finish a lap at HP and we want to make sure that we’re not losing laps by starting or finishing in the wrong place.

    Thans for the help!

    It is gate to gate.
    https://www.strava.com/segments/1081507

    #1047619
    jwetzel
    Participant

    @vvill 134822 wrote:

    It is gate to gate.
    https://www.strava.com/segments/1081507

    [ATTACH=CONFIG]10936[/ATTACH]

    #1047757
    hozn
    Participant

    @vvill 134822 wrote:

    It is gate to gate.
    https://www.strava.com/segments/1081507

    Yes — thanks vvill for running that to ground; I had forgotten which one it was, but it’s obviously in the code/html.

Viewing 15 posts - 61 through 75 (of 134 total)
  • You must be logged in to reply to this topic.