News for hackers. Stuff that matters.

paulmach

Women's cycling is far from lucrative. They also lack a union and pay their own health insurance. Minimum salary for men at the highest level is about 30k euros per year. http://www.cyclingnews.com/news/minimum-wage-increase-for-wo...
Re:Mining Strava's cycling data on Monday May 26, 2014 @02:21AM (#7798908)
Priorities....
Re:Mining Strava's cycling data on Monday May 26, 2014 @01:29AM (#7798822)
Using the API you can get both the Segment altitude data and the Segment Effort altitude data. The segment data is what's displayed on the website and can be bad. But the Segment Effort data would be a subset of the data from the activity. So you can get many many versions of the altitude for the segment and do any type of analysis you wish.
Re:Global heatmap of cycling and running routes on Saturday May 03, 2014 @11:41AM (#7691160)
My own quad tree, they're not that hard to write :)

We're not considering opening the data. But we are working with cities to help improve their bike infrastructure

http://bikeportland.org/2014/05/01/odot-embarks-on-big-data-...

Re:Global heatmap of cycling and running routes on Saturday May 03, 2014 @11:36AM (#7691141)
The overlay tiles zoom weird in leaflet. They get treated like a base layer so when you zoom, they get scaled 2x and the new tiles load on top. That doesn't look right when the tiles are transparent. There must be an option to fix this but couldn't find it.

I couldn't get the styles I wanted with mapbox so I just defaulted to google.

Re:Global heatmap of cycling and running routes on Friday May 02, 2014 @06:55PM (#7688653)
We have a self-hosted version of the iD editor that already includes this data as a tracing layer. http://strava.github.io/iD/#background=Bing&map=16.97/-122.5...

I've also built another tool, Slide, to help use this data for faster editing, see http://labs.strava.com/slide/

Re:Global heatmap of cycling and running routes on Friday May 02, 2014 @06:24PM (#7688544)
On this map I took out any point within 1km of the start or end of every ride. This is stronger than what users have set and eliminates 1000s of "hot spot".

I've looked into a couple of these cases and it's friends "coming by for a ride" or them stopping at their house mid ride.

I'm working on further eliminating these points by just not included "stopped" points. I've also tried doing some image processing to remove these hot spots but have had mixed results.

Re:Global heatmap of cycling and running routes on Friday May 02, 2014 @05:53PM (#7688399)
The data is from http://www.strava.com

An overlay would be nice, but there is a version for both running and riding.

Re:Global heatmap of cycling and running routes on Friday May 02, 2014 @05:47PM (#7688374)
It has every public ride and run with activity id < 120,000,000

It's not updated on every upload, but pretty much the complete dataset.

Re:Global heatmap of cycling and running routes on Friday May 02, 2014 @05:46PM (#7688369)
Each pixel has a count. Each tile gets a 90 percentile value. Every corner gets the average of its 4 tiles. Every pixel in the currently requested tile gets a value [0, 1] based on the bi-linearly interpolated "max". It's then colored based on that final value.

Maybe unnecessarily complicated, but it does provide really good local normalization. You also get cool looking shading like in this location http://labs.strava.com/heatmap/#16/-121.76487/38.49134/gray/...

Re:Global heatmap of cycling and running routes on Friday May 02, 2014 @05:20PM (#7688240)
Map creator here if you have questions.

The data is aggregated into a quad tree based on number of GPS points in each pixel. Tiles are then served on the fly using Go and C using CGO.

Cloudfront tackles most of the load, but the load balanced i2.xlarge instances can do about 300 tiles a second.