GDB FeatureClass properties

概要

The Describe function returns the following properties for Geodatabase Feature Classes. FeatureClass Properties, GDB Table Properties, Editor Tracking Dataset Properties, Table Properties, and Dataset Properties are also supported.

A Geodatabase Feature Class returns a dataType of "FeatureClass".

プロパティ

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

The name of the geometry area field.

String
geometryStorage
(読み取り専用)

Returns the geometry field storage.

  • BinaryEsri Binary storage
  • LOBEsri LOB storage
  • WKBOGC Well Known Binary storage
  • STSpatial Type storage
  • SDOOracle Spatial Type storage
  • PostGISPostgreSQL / PostGIS storage
  • MSSQLGeometrySQLServer / GEOMETRY storage
  • MSSQLGeographySQLServer / GEOGRAPHY storage
メモ:

Returns the storage type for enterprise geodatabase feature classes only; for all other feature classes, returns an empty string.

String
lengthFieldName
(読み取り専用)

The name of the geometry length field.

String
representations
(読み取り専用)

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

Describe

コードのサンプル

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)

このトピックの内容