[gdal-dev] Error trying to merge 3 files for a multi-band ( Windows 7 PRO,

Eduardo Kanegae ekanegae at gmail.com
Fri Mar 26 16:45:26 EDT 2010


Hi folks,

I'm trying to merge 3 separated tiff files to a single one ( make a
RGB composition with 3 bands) using the command:

$ gdal_merge -of GTiff -o target-RGB432.tif -separate BAND4.tif
BAND3.tif BAND2.tif

I'm running Windows 7 Pro, FWTools 2.4.7 with GDAL 1.7.0b2

and I get the following error:

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * *
Traceback (most recent call last):
  File "C:\PROGRA~2\FWTOOL~1.7\bin\gdal_merge.py", line 463, in ?
    sys.exit(main())
  File "C:\PROGRA~2\FWTOOL~1.7\bin\gdal_merge.py", line 433, in main
    if quiet == 0 and verbose == 0:
UnboundLocalError: local variable 'quiet' referenced before assignment
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * *

Any idea?

-- 
Eduardo Patto Kanegae
http://blogdopatto.webmapit.com.br


More information about the gdal-dev mailing list