ジオデータベース フィーチャクラス プロパティ

サマリ

Describe 関数はジオデータベース フィーチャクラスに対して次のプロパティを返します。フィーチャクラス プロパティジオデータベース テーブル プロパティテーブル プロパティ、およびデータセット プロパティもサポートされます。

ジオデータベース フィーチャクラスが返す dataTypeFeatureClass です。

プロパティ

プロパティ説明データ タイプ
areaFieldName
(読み取り専用)

The name of the geometry area field.

String
lengthFieldName
(読み取り専用)

The name of the geometry length field.

String
representations
(読み取り専用)

A list of Describe objects for the representations associated with the feature class.

Object

コードのサンプル

GDB FeatureClass properties example (stand-alone script)

The following stand-alone script displays the GDB FeatureClass properties.

import arcpy

# Create a Describe object from the GDB Feature Class
#
desc = arcpy.Describe("C:/data/chesapeake.gdb/chesapeake/bayshed_1")

# Print GDB FeatureClass properties
#
print "Area Field Name  : " + desc.areaFieldName
print "Length Field Name: " + desc.lengthFieldName


7/10/2012