Hi,

I'm using GDAL 1.10.1 and OpenJPEG on OS X, to read JPEG 2000 orthophotos from 
the USGS National Map. The performance seems really, really poor. I'm using 
GDALRasterBand::RasterIO() to read a scanline at a time. It's been running 
about 10 minutes now without reading one scan line. At the moment I have 
disabled threads in GDAL but it was very slow with threads as well.

I have tried gdal_translate to convert the image to a GeoTIFF and that is very 
slow but does write the file out in 5 minutes or so. The image is 5540 x 7630.

Would it be worth reading the image in blocks? I would just try it but it will 
take some rearranging of code so I thought I would ask if anyone has 
experienced this same performance problem and had any insights on a solution.

Thanks,

Jo Meder


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

Reply via email to