enter image description hereI made a raster. I wonder how can I remove pixels with values lesser than an specific value? for example How is possible to set the value of classes from 0.92?

i have searched it and i found this answer to Removing pixel values below 0 in Digital Elevation Model in ArcGIS for Desktop?:

You can use tool Raster Calculator. Then type this expression:

SetNull("raster_name"<0.92, "raster_name")

should i type the "SetNull" in the command? i am really confused....


Go to ArcToolbox -> Spatial Analyst Tools -> Map Algebra -> Raster Calculator

In the raster calculator, you can either write SetNull("raster_name"<0.92, "raster_name"). Or Double click SetNull from the menu under Conditional menu, then double click the raster layer from raster layer listed in the Table of content from inside raster calculator and add the above expression, as you can see below.

enter image description here

| improve this answer | |
  • Thank you so much dear @ahmadhanb i am using of Arc GIS 9.2. this is why i cant find setnull is raster calculator. isnt it? – mohammad Jun 27 '16 at 6:12
  • Then write SetNull if you don't have an option to select from the conditional menu, and change the double quotation " " to square brackets [ ]. You can refer to this article support.esri.com/technical-article/000010059 – ahmadhanb Jun 27 '16 at 6:19
  • As you said i changed it but i faced to error again. i typed this: SetNull([runoff105]<0.92, [runoff105]) – mohammad Jun 27 '16 at 6:25
  • Sorry to trouble you @ahmadhanb – mohammad Jun 27 '16 at 6:26
  • Could you show us a screenshot of the raster calculator? – ahmadhanb Jun 27 '16 at 6:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.