1

I have this distance raster (shown in the image below).

Is it possible to reclassify the distance values based on the description below-

For distance values 0-100 (new value decreases linearly from 10 to 1); For distance values 100-200 (new value=1); For distance values 200-500 (new value increases linearly from 1 to 10); For distance>500 (new value=10)

The graph below shows the function.

enter image description here

asked Aug 15, 2019 at 2:05
0

2 Answers 2

2

The equation to linearly scale 100-0 to 1-10 is:

-0.09x + 10

The equation to linearly scale 200-500 to 1-10 is:

0.03x - 5

You could use nested Con functions in the raster calculator to apply these equations:

Con("distance" <= 100, 
 -0.09 * "distance" + 10,
 Con("distance" < 200,
 1,
 Con("distance" <= 500,
 0.03 * "distance" - 5,
 10
 )
 )
)
answered Aug 15, 2019 at 4:29
1
  • Thank you. Let me try it on the data. Commented Aug 15, 2019 at 4:53
2

Similarly to above, you can reclassify your distance into 4 classes and type this in calculator:

Pick("Reclass",[-0.09,0,0.03,0]) * "Distance"+Pick("Reclass",[10,1,-5,10])

enter image description here

answered Aug 15, 2019 at 5:26

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.