Modulo operator is possible! Thanks for that...

der-stefan 2014-01-02 07:40:40 -08:00
parent b19e083165
commit 9f312d560d

@ -32,6 +32,11 @@ Match if a value is NULL:
<Filter>[amenity] = 'restaurant' and not ([name] = null)</Filter> <Filter>[amenity] = 'restaurant' and not ([name] = null)</Filter>
``` ```
Also, doing modulo is possible:
```xml
<Filter>[height] % 50 = 0</Filter>
```
NEW in Mapnik 2.1.x: Matches all features that contain point geometries: NEW in Mapnik 2.1.x: Matches all features that contain point geometries:
```xml ```xml