CartoDB / torque

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

Torque does not return negative values #268

Open martinburch opened 8 years ago

martinburch commented 8 years ago

Way down in the Torque Category documentation, it's noted in -torque-aggregation-function that "Torque does not return negative values"

The behavior appears to be that all negative values are converted to 0.

Why doesn't Torque return negative values? Can this be fixed?

andy-esch commented 8 years ago

values outside of 0 - 255 are clamped to that range. To use negative values, the input domain has to be mapped to 0-255.