If your application does not require on the fly filtering you could pre-filter the raster with gdal directly. I think gdal_translate could accomplish what you're after.
-Matt On Thu, Jun 2, 2011 at 5:15 PM, Nat Wilson <[email protected]> wrote: > I think this is an easy question, but having completed the tutorial, I don't > yet feel up to tackling it. > > I have an ASCII raster layer that I read with the Gdal plugin. I would like > to prevent certain cells from being drawn (for example, only show cells with > a value greater than 0). I had a look at the <Filter> rule, but couldn't > tell what the variable same should be (gdal info calls it "Band 1", but that > doesn't work), or if <Filter> is even meant to be used with raster layers. > > I also didn't see any way to do this with a RasterSymbolizer directly - is > there an undocumented technique? > > Could someone give me a clue? > > Thanks, > > njw > > > _______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users > > _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

