mapbox/carto — Issue #121: Comparing variables fails
Author: dhcole
Created: 2011-12-01 23:37:52+00:00
State: open

Comparing two variables in a rule returns the error 'Cannot use operator ">" with value NaN'.

For example, I used this rule:

````
#data {
marker-width: 5;
[dem > rep] { marker-fill: #00f;}
}
````

Where `dem` and `rep` are integer values.

The full Mapnik xml is here: https://gist.github.com/58423739bc4418764062