[Gdal-dev] Advice on Multiple RasterIO Reads.

Simon. skmcbride at gmail.com
Tue Feb 17 18:05:08 EST 2009

Hi List,

What is the suggested RasterIO usage for reading many small requests

Current Process:
	1. for each (x,y) coordinate in collection (10,000+)
		i. get the raster tile 
		ii. open a dataset  - Readonly & OpenShared (1-4 tiles)
		iii. get raster band 1
		iv. calculate the (x,y) cell location
		v. read the raster (2x2 array)
		vi. apply bi-linear interpolation
		vii. return value
Is there an optimal block size for this type of processing?

Raster Info
Pixel Size=2,5 or 10 
Size=2502x2502,1002X1002 or 502x502
Band 1 Block Size=2502x1,1002x2 or 502x4
File Size=25MB,4MB or 1MB

View this message in context: http://n2.nabble.com/Advice-on-Multiple-RasterIO-Reads.-tp2343782p2343782.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.

More information about the gdal-dev mailing list