Le jeudi 17 décembre 2015 11:41:39, Basos Syrris a écrit :
> Hi list,By using Python Gdal api to read an image, is it possible to get
> the pointer of the image instead of taking the whole content as a string
> structure as this happens with the ReadRaster() method?T

You can call Band.ReadAsArray(xoff,yoff,xsize,ysize) to read a sub window of 
the 
image as a numpy array.


> hank you in
> advance.Basos

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to