[gdal-dev] basic raster math

Bobby Braswell rob.braswell at unh.edu
Thu Feb 14 17:40:37 EST 2008


Hi-

Sorry for stupidly ignoring gdal on the gdal list. Brain cramp.

In any case, yes I would recommend this.

from osgeo import gdal
g = gdal.Open("test.tif")
dataarray = g.ReadAsArray()
...



More information about the gdal-dev mailing list