CartoDB / torque

Temporal mapping for CARTO
http://cartodb.github.com/torque/
BSD 4-Clause "Original" or "Old" License
397 stars 131 forks source link

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

Open iriberri opened 9 years ago

iriberri commented 9 years ago

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 commented 9 years ago

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().