![]() If the input is multidimensional raster data, all slices from all variables will be processed. The tool will perform the operation on each band in the input. If the input is a multiband raster, the output will be a multiband raster. See Analysis environments and Spatial Analyst for additional details on the geoprocessing environments that apply to this tool. Is Null can be used along with the Con tool to change NoData cells to a value. If any of the Input rasters or constant values is a constant, it will be interpreted as a multiband raster, in which the cell values of all bands are the same as the constant and have the same number of bands as the output raster. If the cell value of the Input position raster picks value one from the missing band, the output raster will receive NoData. If any of the Input rasters or constant values is a raster with a smaller number of bands than the output raster, the missing bands will be interpreted as a band filled with NoData. If the Input position raster is a multiband, the output raster will have the same number of bands as the Input position raster. ![]() If the Input position raster is a single band, the number of bands on the output raster will be the same as the maximum number of bands of all multiband rasters from the Input rasters or constant values. The number of bands in the output depends on the Input position raster. If the Process as multiband parameter is checked ( process_as_multiband is set to MULTI_BAND in Python), each multiband raster input will be processed as a multiband raster. Each band from a multiband Input rasters or constant values ( in_rasters_or_constants in Python) will be processed separately as a single-band raster. ![]() If the Process as multiband parameter is unchecked ( process_as_multiband is set to SINGLE_BAND in Python), only the first band of a multiband Input position raster ( in_position_raster in Python) will be used. ![]() If they are all integer, the output raster will be integer. If any of the rasters in the input list is floating point, the output raster will be floating point. If the Input position raster is floating point, the values will be truncated to be integers before they are processed.Īny cell with a NoData value on the position raster will receive NoData on the output raster. If the position value is larger than the number of rasters in the list, the result will be NoData. If a cell value on the Input position raster is zero or negative, the result will be NoData. The fastest way to convert NoData value to 0 in ArcGIS is to use map algebra with the Con operator. If the order of rasters changes, the results will change. The order of the Input rasters or constant values ( in_rasters_or_constants in Python) is relevant for this tool. If the position input has a value of 2, the output value will come from the second input in the raster list, and so on. For example, if a cell in the Input position raster has a value of 1, the value from the first input in the raster list will be used for the output cell value. It can be used for processing the remaining selected cells, to create a mask, or to eliminate certain cells for future consideration within a model.The value of each cell of the Input position raster ( in_position_raster in Python) determines which input will be used to obtain the output raster value. Similarly, Set Null is often used to change all values that meet a specified condition to NoData. In particular, the logical tools in the Math toolbox can be used, with the Test tool being particularly useful. A cell containing NoData as input does not equate to false, and NoData will be assigned as the output for the location.Ī number of Spatial Analyst tools can be used to identify which cell locations will be evaluated to true and which to false. Cells evaluating to true will receive NoData as output. If only an input raster is used, all nonzero values on the input raster are considered true and all zero values false. There are two ways in geoprocessing to identify whether a cell location evaluates to true or false: by an input conditional raster or by an input conditional raster on which an optional expression is applied. The tool returns NoData for an output cell if the evaluation on an input conditional raster is true otherwise, it returns the value identified by the false input, which can be a raster or a constant value. The Set Null tool sets identified cell locations to NoData based on a specified criterion.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |