Questions tagged [setnull]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
32 views

Batch SetNull in ArcGIS Pro

I am using ArcGIS Pro. I have 100s of GeoTIFFs with NoData set to -99999 and I need to set NoData to null. I can’t seem to get batch SetNull to work. The images are 32 bit float.
user avatar
1 vote
1 answer
621 views

Reading TIFF file using ArcPy with ArcGIS Pro

I have trouble when I try to set null some value, when I try this code, it didn't do anything or exporting any file. I run this code on Python ArcGIS Pro and when I import the ArcPy and os it seems ok....
user avatar
0 votes
1 answer
105 views

How to set all raster pixels within a shapefile to null?

I'm working with ArcGIS Pro 2.4.0. I have a raster dataset consisting of several plots of crops. Within each plot, there is a small ground target that has differing reflective values than the ...
user avatar
  • 453
1 vote
1 answer
153 views

arcpy: RUSLE S value - Set null in raster is not setting values to null

I have a slope raster spatial dataset and want to calculate the RUSLE equation's S value. The challenge is that for values with slope gradient <= 9% I have to apply the following equation: S = 10....
user avatar
  • 48
3 votes
1 answer
216 views

Map algebra with loop and SetNull not working

I'm trying to run a loop through a number of rasters while using SetNull but keep receiving an error message. I have worked on these rasters individually using SetNull and it it works, but would need ...
user avatar
  • 31
0 votes
1 answer
257 views

ArcMap Raster Calculator SetNull not changing value?

I am having issues with the "SetNull" function within the Raster Calculator in ArcMap. I have a landsat 8 image that I separated the bands into their own raster (only working with 6 of them), bands 2-...
user avatar
  • 896
1 vote
1 answer
582 views

Setting RGB TIFF "zero" values to "NoData"

I am having a problem with getting my Landsat 8 RGB (bands 2-7) .tif background values (very small number but not zero) set to null. I have tried the following tools: Raster Calculator (image 2) ...
user avatar
  • 896
1 vote
1 answer
102 views

How can I set multiple values to null in one raster and replace all other values with another raster?

I am working with Landsat8 cloud data (BQA.tiff). I would like to set all medium and high confidence cloud/cloud shadow values (values listed below) to null and replace all other values in this image ...
user avatar
  • 11
0 votes
0 answers
63 views

The SetNull tool does not correctly change "-9999" into NODATA

I am using ArcMap 10.5.1 and .tif raster data. When I executed the SetNull tool to convert all "-9999" values into NoData, the range of values in the output raster was greater than that in the ...
user avatar
  • 1
4 votes
1 answer
2k views

Use gdal to set multiband raster values to no data

I need to set a 3 band multiband raster (GeoTIff) where band 1 = 0 AND band 2 = 0 AND band 3 = 0 then this is no data (0,0,0 is No Data). Not OR in each band but AND across the 3 bands. I think it is ...
user avatar
0 votes
1 answer
212 views

Converting zero values in raster using average of neighboring cells in ArcMap?

I have an image and I want to fill the empty spaces using the average of the neighbouring cells. I setNULL these values and followed Fill in NoData gaps in raster using ArcGIS for Desktop? There ...
user avatar