>Zoom data need to come from somewhere, so yes, you need a "zoom" >attribute in your shapefile. >In mapnik2 we're planing to provide some internal renderer state as >properties (for using in expressions), but still [zoom] is something >specific to your use-case, mapnik doesn't know about it.
Artem, Good to know. Thanks for the info With that in mind, [another email comes in as I type].. >Zoom levels don't work like this in Mapnik. It has no concept of fixed >zoom levels, it calculates a 'ScaleDenominator' based on the geographic >bounding box and the pixel dimensions of the image. Each filter can have >minimum and maximum scale value. For more details see: >http://trac.mapnik.org/wiki/ScaleAndPpi<http://trac.mapnik.org/wiki/ScaleAndPpi> >http://trac.mapnik.org/wiki/MinScaleDenominator<http://trac.mapnik.org/wiki/MinScaleDenominator> >To see how the OpenStreetMap zoom levels map to the Mapnik scale values: >http://trac.openstreetmap.org/browser/applications/rendering/mapnik/zoom-to-scale.txt<http://trac.openstreetmap.org/browser/applications/rendering/mapnik/zoom-to-scale.txt> Jon, I think that wrapped up my open questions for the moment. Thanks all for your great feedback, Chris
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

