artemp/mapnik — Issue #309: Extend filters to have a length test
Author: artemp
Created: 2011-10-11 16:10:36+00:00
State: open
Labels: Core_Library

It would be great to be able to do:

[highway] = 'motorway' and [ref].length = 1

Currently it can be solved in the PostGIS input module by doing "char_length(ref) as length" and then using [length], but doing it in the filters seems more generic, and works for all input modules.