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

Matt Wilkie matt.wilkie at gov.yk.ca
Thu Jan 26 17:18:44 EST 2006


Hi, I'm trying to use gdal_merge to mosiack some dems, but how do I get 
it to ignore a float32 nodata number?

gdlainfo says "NoData Value=-3.40282e+038" but when I try and use it 
gdal_merge pukes:

gdal_merge -o d:\scratch\merged.tif dem1 dem2 -n -3.40282e+038

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

thanks!

-- 
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