[Gdal-dev] gdalwarp and nodata values (float v int)

Marc Lepage mlepage at pyxisinnovation.com
Fri Jul 14 15:56:33 EDT 2006


Frank said:
There are things I can do to avoid some of this.  For instance, the
min/max
algorithm could cast the double value to float before comparing it to
the float values from the band.


Be warned that I have seen this comparison fail on Windows (VC7) as the
compiler still generated code to compare a double to a float (even with
the cast).




More information about the Gdal-dev mailing list