Hi List,

What is the suggested RasterIO usage for reading many small requests
repeatedly?

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
Format=GTiff
Pixel Size=2,5 or 10 
Size=2502x2502,1002X1002 or 502x502
Band 1 Block Size=2502x1,1002x2 or 502x4
DataType=Float32
File Size=25MB,4MB or 1MB

MaxCache=400
-- 
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.

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to