On Sep 22, 2009, at 9:14 AM, Andrew Ayre wrote: > If the bounding box in the envelope does not match the proportions of > your image (900 x 450) then the box is expanded in the longer > direction. > You can then use env = myMap.envelope() to get the actual envelope > used.
You can also modify the Map's 'aspect_fix_mode', which controls what dimension to change if the bbox proportions do not match your output image: http://svn.mapnik.org/trunk/docs/api_docs/python/mapnik._mapnik.aspect_fix_mode-class.html http://svn.mapnik.org/trunk/docs/api_docs/python/mapnik._mapnik.Map-class.html#aspect_fix_mode These are not documented yet on the wiki - anyone? :) Dane _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

