[Qgis-user] Problem with VRT format

Patrick Giraudoux patrick.giraudoux at univ-fcomte.fr
Mon Aug 11 04:45:08 PDT 2014


Dear lister,

I meet a problem trying to wrap layers 10, 20, 30, 40, 50, 70 of 
landstat ETM into a VRT format. Everything goes well including writing 
the VRT file via the raster menu (see the result below), BUT when I load 
it from QGIS and try to find the layers in the "properties" (mutiple 
band colors), I can just access to "band1 (grey)"...

I am working with QGIS 2.2.0 Valmiera under Windows 7 pro.

Any idea about what happens ?

Patrick


------------------------------------------------------------------------
<VRTDataset rasterXSize="8321" rasterYSize="7441">
   <SRS>PROJCS["WGS 84 / UTM zone 43N",GEOGCS["WGS 
84",DATUM["WGS_1984",SPHEROID["WGS 
84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",75],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AUTHORITY["EPSG","32643"]]</SRS>
   <GeoTransform> 2.0218499999999997e+005, 3.0000000000000000e+001, 
0.0000000000000000e+000, 4.4196150000000000e+006, 
0.0000000000000000e+000,-3.0000000000000000e+001</GeoTransform>
   <VRTRasterBand dataType="Byte" band="1">
     <ColorInterp>Gray</ColorInterp>
     <SimpleSource>
       <SourceFilename 
relativeToVRT="1">L71151033_03320050822_B10.TIF</SourceFilename>
       <SourceBand>1</SourceBand>
       <SourceProperties RasterXSize="8321" RasterYSize="7441" 
DataType="Byte" BlockXSize="8321" BlockYSize="1" />
       <SrcRect xOff="0" yOff="0" xSize="8321" ySize="7441" />
       <DstRect xOff="0" yOff="0" xSize="8321" ySize="7441" />
     </SimpleSource>
     <SimpleSource>
       <SourceFilename 
relativeToVRT="1">L71151033_03320050822_B20.TIF</SourceFilename>
       <SourceBand>1</SourceBand>
       <SourceProperties RasterXSize="8321" RasterYSize="7441" 
DataType="Byte" BlockXSize="8321" BlockYSize="1" />
       <SrcRect xOff="0" yOff="0" xSize="8321" ySize="7441" />
       <DstRect xOff="0" yOff="0" xSize="8321" ySize="7441" />
     </SimpleSource>
     <SimpleSource>
       <SourceFilename 
relativeToVRT="1">L71151033_03320050822_B30.TIF</SourceFilename>
       <SourceBand>1</SourceBand>
       <SourceProperties RasterXSize="8321" RasterYSize="7441" 
DataType="Byte" BlockXSize="8321" BlockYSize="1" />
       <SrcRect xOff="0" yOff="0" xSize="8321" ySize="7441" />
       <DstRect xOff="0" yOff="0" xSize="8321" ySize="7441" />
     </SimpleSource>
     <SimpleSource>
       <SourceFilename 
relativeToVRT="1">L71151033_03320050822_B40.TIF</SourceFilename>
       <SourceBand>1</SourceBand>
       <SourceProperties RasterXSize="8321" RasterYSize="7441" 
DataType="Byte" BlockXSize="8321" BlockYSize="1" />
       <SrcRect xOff="0" yOff="0" xSize="8321" ySize="7441" />
       <DstRect xOff="0" yOff="0" xSize="8321" ySize="7441" />
     </SimpleSource>
     <SimpleSource>
       <SourceFilename 
relativeToVRT="1">L71151033_03320050822_B50.TIF</SourceFilename>
       <SourceBand>1</SourceBand>
       <SourceProperties RasterXSize="8321" RasterYSize="7441" 
DataType="Byte" BlockXSize="8321" BlockYSize="1" />
       <SrcRect xOff="0" yOff="0" xSize="8321" ySize="7441" />
       <DstRect xOff="0" yOff="0" xSize="8321" ySize="7441" />
     </SimpleSource>
     <SimpleSource>
       <SourceFilename 
relativeToVRT="1">L72151033_03320050822_B70.TIF</SourceFilename>
       <SourceBand>1</SourceBand>
       <SourceProperties RasterXSize="8321" RasterYSize="7441" 
DataType="Byte" BlockXSize="8321" BlockYSize="1" />
       <SrcRect xOff="0" yOff="0" xSize="8321" ySize="7441" />
       <DstRect xOff="0" yOff="0" xSize="8321" ySize="7441" />
     </SimpleSource>
   </VRTRasterBand>
</VRTDataset>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140811/52a2beb3/attachment.html>


More information about the Qgis-user mailing list