The proximity raster function creates pixels with higher values the further away from the object they are. I would like to invert those values so the numbers get smaller as they get further.
– brinkNov 22 '17 at 1:11

3

Use an n-R calculation where n is a constant and R is you cell value.. where R is small the output is large, where R is large the output is small.
– Michael StimsonNov 22 '17 at 1:15

No worries! I'm glad you got a result. Can you please answer your own question, with screenshots preferably, for the benefit of users in the future who have the same requirement.
– Michael StimsonNov 22 '17 at 21:13

1 Answer
1

Thanks to Mr. Stimson I used the expression 1000-(raster layer) to get the inverted raster result. I chose 1000 because it didn't have to be an exact invert and I didn't want negative numbers. I need to run it through r.cost algorithm which creates an error if there is a negative number.