from mapnik import Map, Layer proj4 = '+proj=lcc +lat_1=41.48333333333333 +lat_2=41.28333333333333 +lat_0=41 +lon_0=-70.5 +x_0=500000 +y_0=0 +ellps=GRS80 +units=m +no_defs' m = Map(256,256,proj4) lyr = Layer('Name',proj4)