ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • ヘルプ
  • Sign Out
ArcGIS Desktop

ArcGIS Online

組織のマッピング プラットフォーム

ArcGIS Desktop

完全なプロ仕様の GIS

ArcGIS Enterprise

エンタープライズ GIS

ArcGIS for Developers

位置情報利用アプリの開発ツール

ArcGIS Solutions

各種業界向けの無料のテンプレート マップおよびテンプレート アプリケーション

ArcGIS Marketplace

組織で使えるアプリとデータを取得

  • ドキュメント
  • サポート
Esri
  • サイン イン
user
  • マイ プロフィール
  • サイン アウト

Help

  • ホーム
  • はじめに
  • マップ
  • 解析
  • データ管理
  • ツール
  • その他...

Table properties

  • サマリー
  • プロパティ
  • コードのサンプル

サマリー

The Describe function returns the following properties for Tables. Dataset Properties are also supported. Editor Tracking Properties are supported if editor tracking has been enabled for this table.

Table properties are available in many types of Describe objects.

プロパティ

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

Indicates whether the table has an ObjectID field.

Boolean
OIDFieldName
(読み取り専用)

The name of the OID field if it exists.

String
fields
(読み取り専用)

A Python list of Field objects for this table. This is the same as using the ListFields function.

Field
indexes
(読み取り専用)

A Python list of Index objects for this table. This is the same as using the ListIndexes function.

Index

コードのサンプル

Table properties example (stand-alone script)

The following stand-alone script displays the OID field name if the table has one. It then prints the name and type for each field in the table.

import arcpy

# Create a Describe object from the table.
#
desc = arcpy.Describe("C:/data/chesapeake.gdb/munich")

# If the table has an OID, print the OID field name
#
if desc.hasOID:
    print "OIDFieldName: " + desc.OIDFieldName

# Print the names and types of all the fields in the table
#
for field in desc.fields:
    print "%-22s %s %s" % (field.name, ":", field.type)
    #print field.name + " = " + field.type

ArcGIS Desktop

  • ホーム
  • ドキュメント
  • サポート

ArcGIS プラットフォーム

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

Esri について

  • 会社概要
  • 採用情報
  • Esri ブログ
  • ユーザ カンファレンス
  • デベロッパ サミット
Esri
ご意見・ご感想をお寄せください。
Copyright © 2019 Esri. | プライバシー | リーガル