Edge cases in NITFCreate don't conform to MIL-STD-2500-C
|Reported by:||klaricmn||Owned by:||warmerdam|
I believe that I have found a few edge cases when the NITFCreate method does not conform to the NITF MIL-STD-2500-C standard. The cases that I'm describing can be found in paragraph 22.214.171.124-d (page 41 of the PDF file).
The existing code relevant to this paragraph was modified for #3263, but only handles two of the four cases. It handles the case when the block size is large (i.e. >8192) in both dimensions and when it has small block sizes in both dimensions. However, it does not currently account for the case when only one of the block dimensions exceeds 8192 even though the spec allows for it.
The attached patch addresses this issue.