Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You could use the Raster Calculator to do this, square the pixel values and then extract the roots. Something like this:

sqrt ( myraster@1 * myraster@1 )

Regards, Nick.

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.