Using tool parameters

Tool parameters define how a tool will process input data. Tool parameters are composed of keywords, user-defined parameters, and classes.

Tool parameter rules

User-defined parameters are inputs that generally quantify a parameter.

Some input parameters are classes. Classes are used when geoprocessing tool parameters would otherwise be a more complicated string equivalent.

HinweisHinweis:

For readability, it is recommended that you set the class object to a meaningfully named variable and use the variable in the Map Algebra tool.

myRemapVal = RemapValue([[-3,9],[0,1],[3,-4],[4,5],[5,6],[6,4],[7,-7]])
outReclassRV = Reclassify(inRaster, "VALUE", myRemapVal, "")

Verwandte Themen


7/10/2012