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