From 55c60d2cf5f34931d6ad59ebcd07d23db287e408 Mon Sep 17 00:00:00 2001 From: ThomasG77 Date: Mon, 12 Dec 2011 12:30:12 -0800 Subject: [PATCH] Updated AlsoFilter (markdown) --- AlsoFilter.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/AlsoFilter.md b/AlsoFilter.md index a8739be..37796cd 100644 --- a/AlsoFilter.md +++ b/AlsoFilter.md @@ -20,8 +20,7 @@ For each Object read from the Datasource Mapnik checks if the current ScaleDenom * If the Object _passes_ these tests, the according rule is evaluated. After all normal Rules have been evaluated, the Rules containing an `` are also evaluated. * If the Object _misses_ these tests, none of the rules is evaluated. - - #!xml +```xml +``` ## Example in Python - #!python +```python rule = mapnik.Rule() rule.set_also(True) # instead of rule.filter(...) +``` ## See also * The normal [Filter](https://github.com/mapnik/mapnik/wiki/Filter)