Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working with interpolated temperature data. The image's maximum and minimum values are 11.9 and -1.7, respectively.

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 the same. They were supposed to be. 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

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

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.