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[&quot;WGS 84 / UTM zone 26N&quot;,GEOGCS[&quot;WGS
84&quot;,DATUM[&quot;WGS_1984&quot;,SPHEROID[&quot;WGS
84&quot;,6378137,298.2572235630016,AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]],AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]],PRIMEM[&quot;Greenwich&quot;,0],UNIT[&quot;degree&quot;,0.0174532925199433],AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]],PROJECTION[&quot;Transverse_Mercator&quot;],PARAMETER[&quot;latitude_of_origin&quot;,0],PARAMETER[&quot;central_meridian&quot;,-27],PARAMETER[&quot;scale_factor&quot;,0.9996],PARAMETER[&quot;false_easting&quot;,500000],PARAMETER[&quot;false_northing&quot;,0],UNIT[&quot;metre&quot;,1,AUTHORITY[&quot;EPSG&quot;,&quot;9001&quot;]],AUTHORITY[&quot;EPSG&quot;,&quot;32626&quot;]]</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
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to