Giter Club home page Giter Club logo

athletedataviz's People

Contributors

ryanbaumann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

athletedataviz's Issues

Add activity details to database

Call activity API on each act download in stravaparse.py. store activity metadata in the database for additional styling and filtering.

In particular, store the Google polyline of the Activity. Change the query for v_stream_linestring to use the Google polyline summary data instead of the Stream data in order to increase query speed.

Partition Stream table by act_id

Partition the Stream table by ath_ID. Should allow "one indexed table" per athlete in order to greatly reduce the effective index size of the table when querying for heatmap points, reducing maintenence and increasing the ability to auto-archive old data.

Optimize segments++ data source volume

Optimize query for segments++ data by returning all data as normal json in encoded polyline format. Then convert to geojson and pass to map on client side using mapbox-polyline library.

This should allow the entire segment layer to be returned in one query. This the map.moveend() and map.zoomed() query binds can be removed. Will greatly improve user experience on mobile and reduce number of requests served a ton.

In process of this, evaluate how to make "get new segments" a client side API call, further un-burdening the server from repeated API requests.

Remove auto-increment indexes on Athlete, Activity, Segment, Stream tables

Change PK Indexes to the Ath_ID, Act_ID, Seg_ID, and Stream_Id respectively. Drop the auto incrementing PK column. Should allow for lower disk space usage and increased memory efficient when making large queries.

Question: can we achieve this for the Stream table? Or should act_ID + Timestamp be the PK?

Image file upload fails on IE / Safari

Image file upload to Server fails on Safari/IE due to File API support in those browsers.

Convert HTTP logic to use a manual file header parameter so all browsers can generate and save high res images.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.