How do I use raster calculator so that the new raster only shows multiples of 128?
I'm not sure what the expression should be.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
Something like this would do the trick:
Let's break this apart:
The inner Con statement takes your input raster as a conditional raster and returns its modulus against test value (in this case 128). The Mod function returns zero where the number is divisible by your test value, If not it returns the original value. Be careful with this.
The outer Con statement takes the result from the inner Con and checks if it is equal to zero, then returns the original values (multiples of 128) if true.