![]() ![]() You do not need to cast input data as a Raster object when using operators.You do not need to put the output raster name or the = sign in the expression because the output name is specified in the Output raster parameter.The tool supports the standard Map Algebra syntax that is used in Python scripting. If the capitalization is incorrect, the expression will be invalid and fail to execute because Python is case sensitive.Īn example of the general format of a Map Algebra expression using using geoprocessing tools is: When typing tool names, be sure to check the tool name syntax. Multiple geoprocessing tools and operations can be combined in a map algebra expression using standard Python syntax. The operators in the Raster Calculator tool dialog box are: ![]() Numbers and scalars can be directly entered into an expression. A list of commonly used conditional and mathematical tools is provided, allowing you to easily add them to the expression.įull paths to data or data existing in the specified current workspace environment setting can be entered in quotes ( ""). Numerical values and mathematical operators can be added to the expression by clicking the respective buttons in the tool dialog box. Use the Layers and variables list to select the datasets and variables to use in the expression. The Raster Calculator tool allows you to create and execute a Map Algebra expression that will output a raster. It is not intended for use in scripting and is not available in the ArcPy Spatial Analyst module. The Raster Calculator tool is intended for use in the application only as a GP tool dialog box or in ModelBuilder. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |