I'm learning ArcPy and trying to export models to Python scripts to get a feel for it. I have a model that generalizes a land cover raster by reclassifying and using some other spatial analyst tools (boundary clean, region group, extract by attributes, and nibble). When I export my model each function is under arcpy.gp, e.g.:
arcpy.gp.Reclassify_sa(...)
arcpy.gp.BoundaryClean_sa(...)
arcpy.gp.RegionGroup_sa(...)
And so on. I gather this means "Use the geoprocessing tool Reclassify from the Spatial Analyst extension" but I can't find any documentation for it. I can find arcpy.sa.Reclassify
but not the arcpy.gp
version. Does anyone know where to look?
sa
in your script. Read this: geonet.esri.com/thread/146373sa
. You don't need documentation forgp
since it'd be the exact same.