Opened 14 years ago

Closed 14 years ago

#3533 closed defect (fixed)

jpipkak does not support fetching 2 bands out of 3.

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.8.0
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: jpipkak
Cc: gbriggs

Description

The request:

gdalasyncread -b 1 -b 2 -srcwin 27200 6450 501 451 jpip://216.150.195.220/JP2Server/Boulder_Foothills out.tif

results in an output file with two channels, but with the second all zeroed. The problem seems to be that requesting two channels with apply_input_restrictions() and then calling channels.configure() results in a single band mapped. Likely "odd" band requests like this will have to be handled in some special fashion or an error could be issued.

Change History (1)

comment:1 by warmerdam, 14 years ago

Milestone: 1.8.0
Resolution: fixed
Status: newclosed

Processing in GetNextUpdatedRegion() rewritten to fetch data in passes of one or three bands as needed in trunk (r19432) and 1.6-esri (r19433).

Note: See TracTickets for help on using tickets.