Opened 14 years ago

Closed 13 years ago

#3180 closed bug (fixed)

VRT files missing 2 lines for each layer

Reported by: alobo Owned by: brushtyler
Priority: major: does not work as expected Milestone: Version 1.6.0
Component: Rasters Version: 1.5.0
Keywords: Cc:
Must Fix for Release: Yes Platform: All
Platform Version: Awaiting user input: no

Description

When making a VRT file using "Raster/Build virtual raster (catalog)", QGIS just sees one layer. The vrt file has to be edited to add these 2 lines such as: </VRTRasterBand> <VRTRasterBand dataType="UInt16" band="2">

for each layer as suggested by Benoit in 20100811

Agus

Change History (5)

comment:1 by alobo, 13 years ago

According to Giusepe Sucameli this problem would be solved by including the option of adding the -separate flag to the run of gdalbuildvrt

comment:2 by alobo, 13 years ago

Must Fix for Release: NoYes
Owner: changed from nobody to brushtyler

in reply to:  1 comment:3 by brushtyler, 13 years ago

Status: newassigned

Replying to alobo:

According to Giusepe Sucameli this problem would be solved by including the option of adding the -separate flag to the run of gdalbuildvrt

Did you try to run gdalbuildvrt using the -separate option? If all went fine, I'm going to add this option to the gdalbuildvrt GUI.

comment:4 by alobo, 13 years ago

Yes, I did many times on ubuntu. Never could on windows as I do not have an osgeo4w installation

Could you please make this new version available as a python plugin package? Agus

comment:5 by brushtyler, 13 years ago

Resolution: fixed
Status: assignedclosed

Added separate option from r14939.

It should be available also for older QGis versions by using GdalTools experimental plugin v.1.2.16

Note: See TracTickets for help on using tickets.