Modulo operator is possible! Thanks for that...
parent
b19e083165
commit
9f312d560d
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue