[gdal-dev] error by starting gdal_merge.bat (win7, fwtools 2.4.7)

Chaitanya kumar CH chaitanya.ch at gmail.com
Mon Nov 28 12:53:47 EST 2011


Jan,

A problem like this could be caused by any number of reasons.
FWTools-2.4.7 for windows is pretty outdated. It's better to uninstall it
and use the binaries from OSGeo4W [1].
See if the error is resolved when using it.

[1]: http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries#OSGeo4W

On Mon, Nov 28, 2011 at 9:25 PM, Jan Tappenbeck <tappenbeck at widemann.de>wrote:

>
>
>  Hi !
>
> i try to start a gdal_merge by win7 64 bit and the fwtools 2.4.7
>
> gdal_merge.bat -ul_lr 2601660.7343  5477349.8203  2607572.5742
>  5475273.3574 -of GTiff -o %output%_number.tif %input%
>
> but i get the message
>
>
> C:\Program Files (x86)\FWTools2.4.7>echo off
> 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
> C:\Program Files (x86)\FWTools2.4.7>
>
> could everyone tell me the reason for this message ?
>
> reagards Jan :-)
>
> ______________________________**_________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/gdal-dev<http://lists.osgeo.org/mailman/listinfo/gdal-dev>
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20111128/dd7bbbdc/attachment.html


More information about the gdal-dev mailing list