获得 Business Analyst 许可后可用。
描述
Creates an index for a Statistical Data Collection (SDCX). The index will improve performance when using the custom data in analysis tools such as Enrich Layer.
使用方法
A Statistical Data Collection must exist before you can generate an index.
The index must be rebuilt if there are changes to the feature class that references the .sdcx file or if there are changes to the .sdcx file.
Three files, with the extensions .ppi, .ddi, and .pdi.prj, are created when the SDCX index is generated. These three files have the same name as the Input SDCX File parameter.
语法
GenerateSDCXIndex(sdcx_file)
参数 | 说明 | 数据类型 |
sdcx_file | The input Statistical Data Collection file (.sdcx). | File |
派生输出
名称 | 说明 | 数据类型 |
updated_sdcx_file | The updated SDCX index file. | File |
代码示例
The following Python window script demonstrates how to use the GenerateSDCXIndex tool.
import arcpy
arcpy.ba.GenerateSDCXIndex(r"C:\ArcGIS\Project\MyProject\MyBlocksData.sdcx")
环境
许可信息
- Basic: 需要 Business Analyst
- Standard: 需要 Business Analyst
- Advanced: 需要 Business Analyst