Application performances when using extended filename
We encountered significant slow down when processing raster and using extended filename to access a specific band. The input raster is a JP2000 with several compressed band:
Band 1 Block=1024x1024 Type=Byte, ColorInterp=Red
Overviews: 5490x5490, 2745x2745, 1373x1373, 687x687
Overviews: arbitrary
Image Structure Metadata:
COMPRESSION=JPEG2000
For example, the access to a specific band in a vector image using the OTB extended filename feature, seems to cause the problem, example:
otbcli_Superimpose -inr DTM.tif -inm "L1CFOLDER/QI_DATA/MSK_QUALIT_B08.jp2?&bands=8" -out "./superimpose.tif" -interpolator linear -ram 6560
This command takes around 30sec, while the same command ran directly on a mono band raster (of the same resolution and content), is almost instantaneous. This is mostly likely cause by the combinaition of the otb extended file band and the raster inner compression (jp2 + internal overviews).