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

CartoDB Torque animation running longer than 'duration' value in CartoDB editor #214

Open
iriberri opened this issue Aug 20, 2015 · 1 comment

Comments

@iriberri
Copy link

I'm creating a time series Torque animation with CartoDB, using data that spans a one week period. I've noticed that the animation is running longer than the value that 'duration' is set to in the CartoDB editor. This is true no matter what value I use for the duration. For example, if I set duration to 30 seconds, the animation actually takes about 35 seconds to complete one full cycle. If I set it to 15 seconds, it seems to take about 17.5 seconds.

The map and data can be viewed here.

The relevant CartoCSS code is

Map {
-torque-frame-count:1024;
-torque-animation-duration:30;
-torque-time-attribute:"timestamp";
-torque-aggregation-function:"count(cartodb_id)";
-torque-resolution:2;
-torque-data-aggregation:linear;
}

Does anyone have experience with this issue or thoughts on what might be causing it?

From: http://gis.stackexchange.com/questions/158983/cartodb-torque-animation-running-longer-than-duration-value-in-cartodb-editor

@busla
Copy link

busla commented Oct 17, 2015

Experiencing this aswell.

It works fine if I have less than 230 rows in the result set, but after that the duration doesn´t match.

I´m setting the duration with layer.setDuration().

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

No branches or pull requests

2 participants