栅格目录属性

摘要

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

栅格目录可返回“RasterCatalog”dataType

属性

属性说明数据类型
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


7/10/2012