I have a raster with elevations above 2000m that I want to "cut" to 1800m.

I cannot quite figure out the correct string and most simple way to do this in the ArcGIS 9.3 raster calculator.

I tried to ceiling function without much luck; would an expression similar to IF([my_raster]>2000,1800,[my_raster]) do the trick?

  • 1
    You might be looking for con.
    – whuber
    Commented Apr 2, 2013 at 17:45

1 Answer 1


You can use a conditional (Con) statement in the raster calculator or the con tool in ArcToolbox. The below statement is evaluated as [IF myrasters > 2000 THEN 1800 ELSE myraster]

Con("myraster" > 2000, 1800, "myraster")
  • Cheers! Con([myraster] > 2000, 1800, [myraster]) worked perfectly. Thank you!!
    – Peter
    Commented Apr 3, 2013 at 7:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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