PostGIS  2.5.0dev-r@@SVN_REVISION@@
genraster.py File Reference

Go to the source code of this file.

Namespaces

 genraster
 

Variables

string genraster.g_file = "out.png"
 
tuple genraster.g_size = ( int(sys.argv[1]), int(sys.argv[2]) )
 
tuple genraster.g_cell_size = ( int(sys.argv[3]), int(sys.argv[4]) )
 
tuple genraster.g_outline = int(sys.argv[5])
 
tuple genraster.ncells = (g_size[0] / g_cell_size[0])
 
tuple genraster.img = Image.new("L", g_size, 255)
 
tuple genraster.draw = ImageDraw.Draw(img)
 
int genraster.colour_step = 8
 
int genraster.count = 0
 
 genraster.value = count*colour_step
 
int genraster.value_text = 255
 
tuple genraster.font