PostGIS  2.3.8dev-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]) )
 
 genraster.g_outline = int(sys.argv[5])
 
tuple genraster.ncells = (g_size[0] / g_cell_size[0]) * (g_size[1] / g_cell_size[1])
 
 genraster.img = Image.new("L", g_size, 255)
 
 genraster.draw = ImageDraw.Draw(img)
 
int genraster.colour_step = 8
 
int genraster.count = 0
 
int genraster.value = count * colour_step
 
int genraster.value_text = 255
 
 genraster.font
 
 genraster.fill
 
 genraster.outline