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