from mapnik import Map, Layer proj4 = '+proj=longlat +a=6051800 +b=6051800 +no_defs' m = Map(256,256,proj4) lyr = Layer('Name',proj4)