PostGIS  2.2.7dev-r@@SVN_REVISION@@
window Namespace Reference

Functions

def is_georeferenced (gt)
 
def calculate_corner (gt, x, y)
 

Variables

list infile = sys.argv[1]
 
tuple inxoff = int(sys.argv[2])
 
tuple inyoff = int(sys.argv[3])
 
tuple inxsize = int(sys.argv[4])
 
tuple inysize = int(sys.argv[5])
 
tuple ds = gdal.Open(infile, gdalc.GA_ReadOnly)
 
 xsize = ds.RasterXSize
 
 ysize = ds.RasterYSize
 
tuple gt = ds.GetGeoTransform()
 
tuple res = ( gt[1], gt[5] )
 
tuple ulp = ( gt[0], gt[3] )
 
tuple rot = ( gt[2], gt[4] )