Maintain Spatial Index (Environment setting)
The Maintain Spatial Index environment is a legacy environment from ArcGIS Desktop and is not honored in ArcGIS Pro.
In ArcGIS Desktop, this environment would allows tools to delete and re-create the spatial index of an enterprise geodatabase feature class, or keep it in place and update it, according to the setting.
To have the same behavior in ArcGIS Pro when running tools that perform insert, update, and delete operations on existing data in enterprise geodatabases, control of the spatial index can be accomplished using the Remove Spatial Index tool to remove the spatial index prior to processing and the Add Spatial Index tool to re-create the spatial index after processing.
Usage notes
- The Append tool also supports this workflow with file geodatabase data.
Dialog syntax
Unsupported in ArcGIS Pro.
Python syntax
arcpy.env.maintainSpatialIndex = Boolean
| Name | Explanation |
|---|---|
|
Boolean |
Unsupported in ArcGIS Pro. |