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

CARTO provider: allow the user to fix the time showed by Torque #267

Open
AbelVM opened this issue Aug 8, 2016 · 1 comment
Open

CARTO provider: allow the user to fix the time showed by Torque #267

AbelVM opened this issue Aug 8, 2016 · 1 comment

Comments

@AbelVM
Copy link

AbelVM commented Aug 8, 2016

As of today, Torque "reprojects" the timestamp value to the local timezone, but sometimes you need to keep original timezone information and fixed values of timestamp.

AFAIK, there's at least two gears involved in this issue:

  • Importer: that translates timestamps to GMT+00 to store it, losing the timezone info in the translation
  • Torque: that translates again the timestamps to local (browser) time

Use case:
Study of 24h of traffic data in a city related to the different hours of the day, but the viewers may be from all of the world. The study loses all of its sense when you view it from a place where the time zone is so different, and you see the traffic peaks at 4am and valleys at 8-9am.

Possible fixes:

  • Let the user choose the time zone the data will be rendered, or "auto" to use the current behaviour
  • Keep the original timezone info in the dataset or its metadata

cc @nygeog @andrewxhill

@AbelVM
Copy link
Author

AbelVM commented Aug 8, 2016

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

No branches or pull requests

1 participant