'vector subscript out of range' when read block from PCIDSK file
|Reported by:||bcolombe||Owned by:||warmerdam|
Provided file is a tiled .pix created in PCI Geomatica 2015 SP1. Image has dimensions X: 6193 and Y: 6741 with block size of 512 x 512.
When attempt GDALRasterBand::ReadBlock or GDALRasterBand::GetLockedBlockRef at xblock:0, yblock:13, get 'vector subscript out of range' in SysVirtualFile::GetBlockSegment. This happens with multiple files of the same format, always when reading the first block of the last row.
If instead use RasterIO to read on block boundaries, then works.