4

I have a raster map (-100 to +100) and I need to get all the minus values as absolute values (-100=100; -99=99...). How can I do this? Is it something like reclassify?

7

You could use the Raster Calculator to do this. Square the pixel values to ensure all values are positive, and then extract the square roots to get back original number. Something like this:

sqrt ( myraster@1 * myraster@1 )

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.