id summary reporter owner description type status priority milestone component version severity resolution keywords cc 6467 NaN values not being parsed in gdal_rasterize options dsogari warmerdam "The gdal_rasterize app currently does not handle NaN values for the ""-init"" and ""-burn"" options, because of the implementation of the ArgIsNumeric function in gdal_rasterize_lib.cpp::47 If we supply such value, ArgIsNumeric gives false and the 'i' is not incremented when reading either the ""-init"" or ""-burn"" options, causing the app to fail in the next iteration. I propose the following modification: where it reads {{{ return CPLGetValueType(pszArg) != CPL_VALUE_STRING; }}} it could be written {{{ return CPLIsNan(CPLAtof(pszArg)) || CPLGetValueType(pszArg) != CPL_VALUE_STRING; }}} A patch file is attached for convenience. Thanks" defect closed normal 2.0.3 default svn-trunk normal fixed gdal_rasterize nan