Coder Social home page Coder Social logo

patrovite / course_generator Goto Github PK

View Code? Open in Web Editor NEW
30.0 30.0 8.0 335.94 MB

Open source software to calculate your road running race, trail, ultra trail or trek.

Home Page: http://www.TechAndRun.com

License: GNU General Public License v3.0

HTML 15.74% Java 82.47% CSS 0.58% Shell 0.76% NSIS 0.45%

course_generator's People

Contributors

fjbdev avatar patrovite avatar trilomix avatar victorhck avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

course_generator's Issues

Read only mode

Add a read only mode in order to avoid new calculation that will modify data.
Useful to analyze race data.

Create a list of words for translation

A list of common words used in trail running and trekking from French to English or other languages.

Example :
French words : Dénivelé, pente, D+, D-...

This will help to have consistent translation and post in the web site.

Calculate a course time based on a chosen total time finish

For a given course with given parameters, calculate the time for each point based on a total finished time specified by the user.
For example : If the user wants to finish in 30h, estimate the time for each point based on that total finish time

Profile Tab - Selecting a point in the profile does not select that point in data tab

Click on a green part of the profile
Current behaviour
The red cursor correctly selects that point, and the map also selects that point, but the data tab does not get updated to show that line.

Data tab highlights the previously clicked point (n-1 )

Expected Behaviour
The data tab should have the line selected for that point

Work around
Click the area twice in the profile tab

Add sunrise and sunset to the mini roadbook

Add the sunset and the sunrise to the mini roadbook.

  • Change the MRB background 'in gray for example) if the track is run during the night otherwise the background is white
  • Add a checkbox to activate or not the feature
  • The night feature must be active in the main table

Add the ability to generate an average speed curve for a given user's previous activities

For a given distance, a user might want to know what is his/her average speed considering multiple outings.
Example :

  • A user would like to generate his/her average speed for the 50km distance
  • The user selects a folder where a list of files for this distance are present.
  • Course Generator reads all those files and generate a curve for which the speed/slope is that average of all those files

The sunrise and sunset times obtained are wrong

Issue : When using the "Auto-Adjustment" button (Track-Settings) to generate the sunrise and sunset times, the values are wrong.
My hunch is that the values don't have the correct timezone offset.

WHen saving the MRB as an image, the chosen folder is not saved

Scenario to reproduce :

  • Save a MRB profile as an image on the desktop (by default it will choose the Documents folder)
  • Save it again and it will choose by default the Documents folder again

Solution :

  • Use the folder that is currently used to load/save GPX/CGX files

Use Thunderforest tiles

If possible, add the outdoors thunderforest tiles (http://thunderforest.com/).
api key need by the user because it can't inserted directly in the application.

Need to see with the website if we are allowed (see terms and conditions).

Review english translation

I did the translation but it's not perfect. A review of "Bundle.properties" and "Bundle_en_US.properties" would be great.

For a given course and date, display the last 3 years of weather data

On top of the map (or elsewhere), display the weather data for the X previous years (with X being defined by the user)
The weather data could contain the following information :
daily averaged temperature
daily min temperature
daily max temperature
night temperature
Moon phase
Precipitation

Use the OpenWeatherMap API : https://openweathermap.org/history (This service is not free)
Use Dark Sky API : The user can get an API key and the API offers 1,000 Calls Per Day for Free This service would require CG to have 1 API key for each request that any user makes, which would make this service a non-free service.
The NOAA API was chosen as it is 100% free (https://www.ncdc.noaa.gov/cdo-web/token) "An access token is required to use the API, and each token will be limited to five requests per second and 10,000 requests per day."

Technical questions : ~~
~~ - Can JXMapviewer 2 display widgets ? or should we display the weather info on a menu that can be hidden by the user ?

Spanish translation

In order to increase the audience of Course Generator, a Spanish translator is needed.

2 job can be done. Translating the software or the manual. The most important is the software.

Is the job complicated?
For the software, it's only a text file with around 600 lines to translate. The original texts will be in English or in French.

For the manual, it's a set of markdown files to translate. The original texts will be in English or in French.

Add an elevation gain and loss filter

Elevation gain and loss can be wrong if there is a high density of GPS points. A filter exist but it seem not very efficient.
Change the algorithm or try to use SRTM data (use a lot of HDD space)

Translator needed!

Course Generator is currently translated in French and English. If you want to translate CG in your language, please leave a comment bellow or contact me.

Translating CG is not difficult. Just one text file with around 700 lines to translate.

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.