Is it possible to assign different values to each zone. The value would be decimal.

100==> 4.97 200==> 5.90 300==> 6.01 ..ect... 1000==> 9.64 or somehow change value with cost raster. I have DEM raster, buffer raster, reclass raster, poligon layer. enter image description here


If you have Spatial Analyst, you can use Reclassify tool to change the old pixel values to new values.

However, The tool may not work with decimals (I did not test it with decimals), but I know it works with integer values. You can try with decimals, if it did not work, then multiply the new values with 100 to make it integer.

For example, use 100 -> 497 (integer) instead of 100 -> 4.97 (decimal). Then using raster calculator divide the output by 100 to get the values in decimals.

  • Reclassiy tool does not work with decimals. If there is no other option, your answer looks good. – nagib Sep 13 '17 at 9:18
  • Use lookup in reclassify – FelixIP Sep 13 '17 at 9:34
  • Do you have an example with lookup class? – nagib Sep 13 '17 at 11:00
  • When I divide with raster calculator (1245/100=12) result is 12 not 12.45. It is rounded. – nagib Sep 13 '17 at 11:35
  • @nagib you need to convert the raster type from integer to float before dividing by 100. Use Float() function from raster calculator to convert the reclassified raster into float type, then divide by 100. – ahmadhanb Sep 13 '17 at 12:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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