diff --git a/Filter.md b/Filter.md index c7f3413..6e01c68 100644 --- a/Filter.md +++ b/Filter.md @@ -21,12 +21,17 @@ And they can be combined in complex rules using brackets: `(` and `)`. Attributes can be compared against [Regular expressions](http://en.wikipedia.org/wiki/Regular_expression) using the `.match` operator. ## Examples in XML -Matches all Objects that have an attribute "amenity" with a value of "restaurant": +Matches all objects that have an attribute "amenity" with a value of "restaurant": ```xml [amenity] = 'restaurant' ``` +Match if a value is NULL: +```xml + [amenity] = 'restaurant' and not ([name] = null) +``` + NEW in Mapnik 2.1.x: Matches all features that contain point geometries: ```xml