[Gdal-dev] The JP2ECW driver and NaNs

Joaquim Luis jluis at ualg.pt
Fri Jun 23 17:56:10 EDT 2006


Hi,

I'm having some mysteries with the JP2ECW driver but this is, I think, a 
real issue.
I have matrices of different types that are saved in jpeg2000 format. 
When the matrix is of type float
and has NaNs something (not) funny happens. There is no error in the 
writing process but when I read
it back, the NaNs were converted to very large (+  and -) values.

The exact same code doesn't show any problems when I use the GTiff driver.

Joaquim Luis



More information about the Gdal-dev mailing list