Skip to content

Download and visualize Strava paths with D3 and Google Maps.

Notifications You must be signed in to change notification settings

prideout/sfpaths

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sfpaths is a pet project that allows quick visualization of a set of Strava paths.

See my blog entry for more about this.

Flask Server

The sfpaths.py script launches a little Flask server that logs in to Strava, collects all the Lat-Long data, then generates a consolidated and minimal JSON file called tracks.json.

Javascript App

The docs folder contains a statically-served web app that loads up the aforementioned JSON file. It uses D3 and the Google Maps API.

The Javascript app uses flexbox CSS and has a responsive layout for mobile portrait, mobile landscape, and desktop.

Unlike the flask server, the Javascript app does not talk to the Strava API directly.


To be done

lonScale = d3.time.scale().domain(dateList).range(lonList).clamp(true);
latScale = d3.time.scale().domain(dateList).range(latList).clamp(true);

About

Download and visualize Strava paths with D3 and Google Maps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages