Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offer location selection for users for the GPS tracks #139

Closed
MrCsabaToth opened this issue May 26, 2021 · 9 comments
Closed

Offer location selection for users for the GPS tracks #139

MrCsabaToth opened this issue May 26, 2021 · 9 comments
Labels
enhancement New feature or request

Comments

@MrCsabaToth
Copy link
Member

Christian Derungs suggestion, he is a user from Switzerland.
What we definitely cannot do is to let the user freely pick any GPS location. However we can provide a fixed list developed by us.
Christian advised one location for each time zone. That would mean 24 * 3 track (1 running, 1 cycling, 1 open water) for each time zone, where the cycling track doesn't have any cycling segments (so it cannot be a velodrome), the running track cannot have a running segment, and the open water.

The interference avoidance is to prevent any clash with the non virtual athletes: devices can be grossly miscalibrated (for example IC4 connected to Zwift cannot participate in leaderboards because of that, and the calibration is especially true now that I offer calibration override) and that would result in unfair KOM and CR take downs.

A better solution would be to have one pick for each major European countries, each US Sates and each Canadian provinces. That would be way more work!

@MrCsabaToth MrCsabaToth added the enhancement New feature or request label May 26, 2021
@MrCsabaToth MrCsabaToth self-assigned this May 26, 2021
@MrCsabaToth
Copy link
Member Author

Switzerland advised locations by Christian:
CH52+VG Zürich bike
38C8+9M Ebikon lake

@MrCsabaToth
Copy link
Member Author

Ok, the first one is the "Offene Rennbahn Oerlikon, Thurgauerstrasse 2, 8050 Zürich, Switzerland" unfortunately not NS oriented.
Second one is Rotsee in Ebikon, https://www.google.com/maps/dir/47.0745405,8.3163423/38C8%2B9M+Ebikon,+Switzerland/@47.0712975,8.3139028,16.75z/data=!4m6!4m5!1m0!1m3!2m2!1d8.3166875!2d47.0709375 that may not be large enough NS wise? I need to measure.

@MrCsabaToth MrCsabaToth removed their assignment Jun 28, 2021
@MrCsabaToth
Copy link
Member Author

#199 added time zone selection

@MrCsabaToth
Copy link
Member Author

Problem for Kurt Ramsey as well.

@MrCsabaToth MrCsabaToth added the help wanted Extra attention is needed label Jan 13, 2022
@MrCsabaToth
Copy link
Member Author

Basically any candidate track or flat surface should be:

  1. N-S oriented, very precisely
  2. There's no bike segment in case of bike, no run segment in case of run.
  3. Measure on Google Earth what's the lat lon size of 1m in N-S and E-W direction. By measuring the lat lon size and also m along the full height of and full width of the track

@MrCsabaToth
Copy link
Member Author

This track at the Fresno Fairground is the Brian I Tatarian Grandstand, normally a horse race track: https://www.fresnofair.com/p/other/venue-spaces/brian-i-tatarian-grandstand
Sounds like it's a mile long track: https://www.race-track.info/big-fresno-fair-horseracing.html

@MrCsabaToth
Copy link
Member Author

Firdhaus Nawawi requests as well

@MrCsabaToth
Copy link
Member Author

I have a per time zone list now (still need to measure GPS distances though):
locations.txt

However the current https://pub.dev/packages/flutter_timezone package is only good for obtaining a the current time zone's name. We need to step up our game and manipulate time zones with https://pub.dev/packages/timezone or https://pub.dev/packages/flutter_native_timezone_updated_gradle (sign of abandonment and resurrection already). These https://pub.dev/packages/worldtime requires network connection because it uses a free and public API, so not good for off-line use (which some of my users have for sure).

The rest is working from an off-line database which is embedded, or exposed. Like https://pub.dev/packages/timezone contains instructions how to update the DB, and even has a 10y option for a more compact DB.

MrCsabaToth added a commit that referenced this issue Mar 2, 2023
MrCsabaToth added a commit that referenced this issue Mar 2, 2023
MrCsabaToth added a commit that referenced this issue Mar 4, 2023
MrCsabaToth added a commit that referenced this issue Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant