Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have interpolated temperature data that I have. This image's max and min values are 11.9 and -1.7, respectively. And then I exported this image to raster using 'export to raster'. But the max and min values of the output raster image are different from that of the interpolated temperature image. I'm wondering why values of both images (temperature and raster) are not same. They need to be same. Is there any way to make the values of the raster image be the same as the interpolated image?

share|improve this question
2  
Are the specifications of the two datasets the same? That is, do they have identical origins, extents, and cellsizes? –  whuber Apr 6 '12 at 16:22
add comment

1 Answer 1

It sounds like you have a difference in the number type.
Your output raster is most likely 8-bit unsigned, which allows integer values from 0 to 255. Changing that to a signed 8-bit allows integer values from -128 to 127.
The simplest way to allow decimal values would be set the raster type as Float. The downside to that is that each pixel takes up much more disk space, resulting in a much larger file.
Another option would be to multiply all your values by 10 to make them integers, and then use a signed 8-bit raster.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.