Opened 9 years ago
Closed 9 years ago
#5531 closed defect (fixed)
VRT created using VRT driver CreateCopy() corrupted
Reported by: | pmallas | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.11.1 |
Component: | GDAL_Raster | Version: | 1.11.0 |
Severity: | normal | Keywords: | vrt raw |
Cc: |
Description
Using the create copy from the VRT driver results in a corrupted file if the input dataset is a VRT. See code below:
~
from osgeo import gdal
from gdalconst import *
inFile = "d:\imagery\UCR
test.vrt"
outFile = "d:\imagery\UCR\out.vrt"
dataset = gdal.Open(inFile, GA_ReadOnly)
vrt_driver = gdal.GetDriverByName('VRT')
tempVRT = vrt_driver.CreateCopy(outFile, dataset)
~
input and output files attached
Attachments (2)
Change History (3)
by , 9 years ago
comment:1 by , 9 years ago
Component: | default → GDAL_Raster |
---|---|
Keywords: | vrt raw added |
Milestone: | → 1.11.1 |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
VRT input file