[Gdal-dev] PCI .pix: only reading 1 band

Matt Wilkie matt.wilkie at gov.yk.ca
Sat Nov 10 15:19:38 EST 2007


Hi,

In trying to do some stuff today I noticed that the gdal utilities are 
only reading a single band of PCI .pix images. Is this normal? Has it 
always been this way? I think I remember using gdal before on these but, 
as I've publicly proven here in the past my memory is not so reliable... ;-)

GDAL 1.5dev, FWTools 1.4.2, released 2007/11/05

Here is gdalinfo output for a 6 channel .pix:


  gdalinfo y:\ImageRepository\Landsat7\Orthos\Mosaic\oYukonMosaic15m.pix
Driver: PCIDSK/PCIDSK Database File
Files: y:\ImageRepository\Landsat7\Orthos\Mosaic\oYukonMosaic15m.pix
Size is 64523, 81767
Coordinate System is:
PROJCS["unnamed",
     GEOGCS["Unknown datum based upon the GRS 1980 ellipsoid",
         DATUM["Not specified (based on GRS 1980 spheroid)",
             SPHEROID["GRS 1980",6378137,298.257222101,
                 AUTHORITY["EPSG","7019"]]],
         PRIMEM["Greenwich",0],
         UNIT["degree",0.0174532925199433]],
     PROJECTION["Albers_Conic_Equal_Area"],
     PARAMETER["standard_parallel_1",61.6666666666667],
     PARAMETER["standard_parallel_2",68],
     PARAMETER["latitude_of_center",59],
     PARAMETER["longitude_of_center",-132.5],
     PARAMETER["false_easting",500000],
     PARAMETER["false_northing",500000],
     UNIT["Meter",1]]
Origin = (17475.000000000000000,1722705.000000000000000)
Pixel Size = (15.000000000000000,-15.000000000000000)
Metadata:
   SOFTWARE=PACEV9.1
   FILE_ID=c_\1mosaic\YukonMosaic15m.pix
   GENERATING_FACILITY=PCI Inc., Richmond Hill, Canada
   DESCRIPTION1=
   DESCRIPTION2=
   DATE_OF_CREATION=10_13 27Mar2002
   DATE_OF_UPDATE=10_17 27Mar2002
Corner Coordinates:
Upper Left  (   17475.000, 1722705.000) (144d54'58.37"W, 69d32'29.93"N)
Lower Left  (   17475.000,  496200.000) (140d48'47.92"W, 58d40'49.61"N)
Upper Right (  985320.000, 1722705.000) (120d 0'49.34"W, 69d32'12.29"N)
Lower Right (  985320.000,  496200.000) (124d 8'20.73"W, 58d40'37.73"N)
Center      (  501397.500, 1109452.500) (132d28'15.27"W, 64d28'12.10"N)
Band 1 Block=64523x1 Type=Byte, ColorInterp=Undefined
   Description = Contents Not Specified
   Overviews: 21507x27255, 7169x9085, 2390x3028
   Metadata:
     DATE_OF_CREATION=10_13 27Mar2002
     DATE_OF_UPDATE=10_17 27Mar2002
     UNITS=
     HISTORY1=orthoen_output mosaic 
       10_
17 27Mar2002
     LAYER_CRC=0x6423





-- 
matt wilkie
--------------------------------------------
Geographic Information,
Information Management and Technology,
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------




More information about the gdal-dev mailing list