[Gdal-dev] gdal_merge invalid literal for int(): -3.40282e+038

Matt Wilkie matt.wilkie at gov.yk.ca
Fri Jan 27 16:29:31 EST 2006


>> Traceback (most recent call last):
>>    File "c:\local\fwtools\bin\gdal_merge.py", line 362, in ?
>>      nodata = int(argv[i])
>> ValueError: invalid literal for int(): -3.40282e+038
> 
> Matt,
> 
> Please change the above line to "nodata = float(argv[i])"
> and see if that works better.
> 
> I have committed this change in CVS.

That works perfectly, thanks Frank!

-- 
matt wilkie
--------------------------------------------
Geographic Information,
Information Management and Technology,
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------




More information about the Gdal-dev mailing list