Date: 2012-09-04 19:36 Sender: Robert HijmansThis is because rgdal deals with the NA values and therefore the raster package does not set it for GDAL data sources. I could of course set (and return) the correct value. The reason for not doing that is that if the value gets set, reading values from file involves an additional operation (replacing that value with NA) which would be redundant as it has already been done. But I realize that this causes confusion so I will probably change this. |