I have a raster called "aspect" and I want to add 360 to every cells which have a current value lower than 100.

How can I do this using raster calculator?


1 Answer 1


Using raster calculator assuming you have the spatial analyst extension, you can input the expression:

Con(YourRas, YourRas+360, YourRas, "VALUE<100")

The structure is Con(InputRaster, ValueIfTrue, ValueIfFalse, ConditionalStatement).

See Dan C's reference for more uses of the conditional tool.

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.