Opened 14 years ago
Closed 14 years ago
#3751 closed defect (fixed)
ENVI driver : SetGeoTransform() followed by GetGeoTransform() doesn't work, causing gdal_merge not to work
Reported by: | chohnz | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.7.3 |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | gdal_merge, zeros, envi |
Cc: |
Description
I cant seem to get gdal_merge to produce real output. A sample of what I am running: gdal_merge.py -o test.bsq -of ENVI -n -32768 -init -999 -ot int16 tif1.tif tif2.tif
My output image is all -999. If I leave the no data value out, then I end up with an image where the no data values(-32768) and init values (-999) are in the appropriate locations, but the locations where I should have data values are all zeros.
Ive tried different output formats and including/not including most parameters (e.g -ot, -ps, ...) but the output is always the same. It also runs in just a few seconds - which doesn't seem right since these input files are over half a GB each.
Can anyone help? Thanks, M
Change History (1)
comment:1 by , 14 years ago
Keywords: | envi added |
---|---|
Milestone: | → 1.7.3 |
Resolution: | → fixed |
Status: | new → closed |
Summary: | gdal_merge output all zeros or init values → ENVI driver : SetGeoTransform() followed by GetGeoTransform() doesn't work, causing gdal_merge not to work |
Upon investigation, this had little to do with gdal_merge, but it was rather a defect in the ENVI driver.
Fixed in trunk (r20644) and in branches/1.7 (r20645). Test added in r20646