Le 11/08/2014 14:12, Even Rouault a écrit :
Selon Patrick Giraudoux <[email protected]>:

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,

Yes, you have combined the files with the (default) option that is used to
create mosaics. Which you do not want since they have the same extent, but you
would want to make a band with each one of them. I have no QGIS at hand right
now, but the gdalbuildvrt utility that QGIS likely uses has a -separate option
to do what you want. Perhaps the QGIS GUI has also a "separate" checkbox for
that. Otherwise time to go on the command line and try
http://gdal.org/gdalbuildvrt.html

Even


Indeed. Works perfect with the -separate option. My mistake, sorrry.

Anyway, by the way I realise that I can use gdalbuildvrt also for mosaics... Which is also what I may need later...

Best,

Patrick
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to