Skip to content
New issue

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

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

Already on GitHub? # to your account

Time-scale #52

Open
2 of 12 tasks
ghost opened this issue Feb 26, 2019 · 1 comment
Open
2 of 12 tasks

Time-scale #52

ghost opened this issue Feb 26, 2019 · 1 comment
Assignees

Comments

@ghost
Copy link

ghost commented Feb 26, 2019

Time-scale. Each view of the shrivelled earth model is associated with a time-scale. This time-scale should evolve when zooming and de-zooming and when changing epoch.
Time scale could show the speed ratio as a figure like 7.5 the ratio between air and road transport

  1. network links with slopes
  • hover info with modes speed
  • hover info with angle alpha value
  • hover info with kilometres linked to zoom level
  • UI to fix a given km amount in the scale (cleaner than adjusting with mouse)
  • UI to optionally show/not show the legend
  • export to txt
    • year
    • speed kph mode 1
    • speed kph mode 2
    • etc.
  • (add the graphical elements of the legend to export 3D scene not relevant because legend is 2D)
  1. Time-scale (floating as such, different from 1.)
    Basics of the computation:
    At loading of dataset need to have 1 cm of screen = duration in hours
    a. chose two given cities u and v in the dataset
    b. compute length in km of geodesic Lkm
    c. retrieve vec3d uv on "screen" 3d coordinates (in 3D before projecting on the 2d screen)
    d. rotate vec3d uv (without zooming) to align with the plan of the screen
    e. retrieve new (hypothetical) coordinates of u and v on screen, measure Luvcm
    f. use Smax to compute Lhours = Lkm / Smax
    g. at this stage the time-space scale can state Luvcm <-> Lhours for a geographical distance of Lkm
    h. round the value of Lhours and adjust Luvcm proportionally (for readability purpposes)
  • need to be connected to the zoom level (1 cm = x hours)
  • showing by default up right
  • moveable by mouse
  • Indicate duration, with rounded values
  • Possibility to adjust with mouse (with value jumping from 2 to 3 hours)
  • Possibility to set a given duration ? (not needed if previous solution is functioning well)
@ghost ghost added the enhancement label Feb 26, 2019
@ghost ghost assigned bilLkarkariy Feb 26, 2019
@ghost ghost added new functionality and removed enhancement labels Sep 28, 2019
@saamus saamus self-assigned this Aug 6, 2020
@alainlhostis
Copy link
Owner

pb d'affichage de la légende
correct:

incorrect:

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants