Vova Bilonenko
Jul 28, 2017 · 1 min read

Yes, I did split rides but not every 50m. I quantised ride speed with a step 5KPH and then split it on segments with different speed. So segment length depends on how long rider was maintaining same speed. The goal was to have as few segments as possible.

And then I created a separate tileset for segments with tippecanoe. I didn’t pack rides and segments into one tileset to reduce tile size

Although I like how map looks on high zoom levels, it has a lot of distortion at low zoom levels. Because many geometries are dropped.

http://delfrrr.github.io/strava-activities/

I think the better approach for low zoom levels would be:

  • match rides to road network (you can get road network data from OSM or maybe from HERE)
  • then calculate aggregated values per road segment
  • and draw only road segments colored by aggregated values

I think they are doing something like this in Strava Metro

http://metro-static.strava.com/dataView/v1/samples/zurich_2017_sample/ride/

Thank you for the response, René Giretzlehner!

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade