Ticket #3531 (closed defect: fixed)
Data is different depending on which band is requested
| Reported by: | gbriggs | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | GDAL_Raster | Version: | svn-trunk |
| Severity: | normal | Keywords: | JPIP JPIPKAK JPEG2000 |
| Cc: |
Description
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://216.150.195.220/JP2Server/Boulder_Foothills "C:\tmp\test_server_gdal_band2.img"
gdal_translate.exe -of ENVI -srcwin 27200 6450 501 451 jpip://216.150.195.220/JP2Server/Boulder_Foothills "C:\tmp\test_server_gdal_all_bands.img"
If you replace the -b 2 with -b 1, the results appear fine.
Change History
Note: See
TracTickets for help on using
tickets.
