[Qgis-user] QGIS1.5 on Win (standalone installation): Problem with VRT

Agustin Lobo alobolistas at gmail.com
Tue Aug 10 12:01:31 PDT 2010


Hi!

I use the gdal utilities (raster/Build Virtual Raster) with 4 files but
then QGIS sees one band only (only one band listed in the Properties dialog).
This is the VRT file, could anyone tell me if this is correct?

<VRTDataset rasterXSize="3001" rasterYSize="2554">
  <SRS>PROJCS["WGS 84 / UTM zone 26N",GEOGCS["WGS
84",DATUM["WGS_1984",SPHEROID["WGS
84",6378137,298.2572235630016,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",-27],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AUTHORITY["EPSG","32626"]]</SRS>
  <GeoTransform> 6.5222487132554676e+005, 4.0000000000000000e+000,
0.0000000000000000e+000, 4.1899966827195832e+006,
0.0000000000000000e+000,-4.0000000000000000e+000</GeoTransform>
  <VRTRasterBand dataType="UInt16" band="1">
    <ColorInterp>Gray</ColorInterp>
    <SimpleSource>
      <SourceFilename
relativeToVRT="1">po_172227_blu_0000000.tif</SourceFilename>
      <SourceBand>1</SourceBand>
      <SourceProperties RasterXSize="3001" RasterYSize="2554"
DataType="UInt16" BlockXSize="3001" BlockYSize="256"/>
      <SrcRect xOff="0" yOff="0" xSize="3001" ySize="2554"/>
      <DstRect xOff="0" yOff="0" xSize="3001" ySize="2554"/>
    </SimpleSource>
    <SimpleSource>
      <SourceFilename
relativeToVRT="1">po_172227_grn_0000000.tif</SourceFilename>
      <SourceBand>1</SourceBand>
      <SourceProperties RasterXSize="3001" RasterYSize="2554"
DataType="UInt16" BlockXSize="3001" BlockYSize="256"/>
      <SrcRect xOff="0" yOff="0" xSize="3001" ySize="2554"/>
      <DstRect xOff="0" yOff="0" xSize="3001" ySize="2554"/>
    </SimpleSource>
    <SimpleSource>
      <SourceFilename
relativeToVRT="1">po_172227_nir_0000000.tif</SourceFilename>
      <SourceBand>1</SourceBand>
      <SourceProperties RasterXSize="3001" RasterYSize="2554"
DataType="UInt16" BlockXSize="3001" BlockYSize="256"/>
      <SrcRect xOff="0" yOff="0" xSize="3001" ySize="2554"/>
      <DstRect xOff="0" yOff="0" xSize="3001" ySize="2554"/>
    </SimpleSource>
    <SimpleSource>
      <SourceFilename
relativeToVRT="1">po_172227_red_0000000.tif</SourceFilename>
      <SourceBand>1</SourceBand>
      <SourceProperties RasterXSize="3001" RasterYSize="2554"
DataType="UInt16" BlockXSize="3001" BlockYSize="256"/>
      <SrcRect xOff="0" yOff="0" xSize="3001" ySize="2554"/>
      <DstRect xOff="0" yOff="0" xSize="3001" ySize="2554"/>
    </SimpleSource>
  </VRTRasterBand>
</VRTDataset>

Thanks
Agus



More information about the Qgis-user mailing list