Large images via JP2KAK result in "too many tile-parts" error
|Reported by:||warmerdam||Owned by:||warmerdam|
It seems writing an image via the JP2KAK driver with more than about 260000 lines results in the following Kakadu error:
Too many tile-parts for tile 0. No tile may have more than 255 parts.
The problem seems to be that by default the selected tile size for the JP2KAK driver is the full height of the image, and it is written out with a flush every CHUNK_SIZE (1024) lines which generally ends up being a tile part in the output tile.