Ticket #3531 (closed defect: fixed)
Data is different depending on which band is requested
|Reported by:||gbriggs||Owned by:||warmerdam|
|Severity:||normal||Keywords:||JPIP JPIPKAK JPEG2000|
The following two commands give completely different data results for band 2 (the only band in the first case, and the middle band in the second):
gdal_translate.exe -of ENVI -b 2 -srcwin 27200 6450 501 451 jpip://18.104.22.168/JP2Server/Boulder_Foothills "C:\tmp\test_server_gdal_band2.img"
gdal_translate.exe -of ENVI -srcwin 27200 6450 501 451 jpip://22.214.171.124/JP2Server/Boulder_Foothills "C:\tmp\test_server_gdal_all_bands.img"
If you replace the -b 2 with -b 1, the results appear fine.