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?
Best Answer
Where I think you should expect to find the
gp
module to be documented is via the left hand panel of A quick tour of ArcPy.However, as you can see it appears not to be documented.
You could submit an ArcGIS Idea to have this addressed for the ArcGIS Desktop architecture but, if it is still an issue for the ArcGIS Pro architecture then it may be better to make that your target.