Closed matthijsmelissen closed 8 years ago
Consider the following Carto code:
[way_pixels < 192000][way_pixels > 3000] { line-width: 1; }
Carto translates this to the following filter:
<Filter>([way_pixels] > 3000)</Filter>
I would expect the following filter instead:
<Filter>([way_pixels] < 192000) and ([way_pixels] > 3000)</Filter>
Reversing the quantifiers, or replacing < by <=, does give the expected output.
@math1985 - I think this is fixed in this pull: https://github.com/mapbox/carto/pull/393. Can you give it a try and let me know. /cc @gravitystorm @pnorman
Thanks! Not tested yet, but code looks good.
Consider the following Carto code:
Carto translates this to the following filter:
I would expect the following filter instead:
Reversing the quantifiers, or replacing < by <=, does give the expected output.