ArcGIS - setting values above threshold to maximum desired value whilst keeping the v

المشرف العام

Administrator
طاقم الإدارة
So I have a raster layer (32 bit floating point) with values ranging from 0 - 200. Now, I want to set all values above 7 to 7, and keep all other values as they are. I've tried this in RasterCalc: Con("my layer" > 7, 7, "my layer") which, if I understood correctly, should mean:

If layer > 7, set to seven, else keep values.

But if I do this, I get a layer that just has one value: 7. I tried modifying the formula to my purpose, but that didn't help.

Any guesses on how I could solve this?



أكثر...
 
أعلى