栅格目录属性 (arcpy)

摘要

Describe 函数可返回栅格目录的以下属性。同时还支持要素类属性GDB 要素类属性表属性GDB 表属性编辑器追踪数据集属性数据集属性

栅格目录可返回数据类型“RasterCatalog”

属性

属性说明数据类型
rasterFieldName
(只读)

The name of the raster column in the raster catalog.

String

代码实例

Raster Catalog properties example (stand-alone script)

The following stand-alone script displays the rasterFieldName property for a raster catalog.

import arcpy

# Create a Describe object from the raster catalog
#
desc = arcpy.Describe("C:/data/simon.gdb/idaho")

# Print the RasterFieldName property
#
print "Raster field name: " + desc.rasterFieldName
9/15/2013