Dear Gdal Developers and Users:

I have a big GeoTiff image file, and the following rectangular boundary:

ulx,uly,lrx,lry = -180, 90, 180, 80

I have to read the image lying for that boundary only.
How can I read it?

************************************************************
inraster = gdal.Open(infile, GA_ReadOnly)

data = inraster.GetRasterBand(1).ReadAsArray()
print data
************************************************************

Hope someone can help me.

Thanks in the advance
Yuta
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to