ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

ArcInfo Workstation 表属性

  • 描述
  • 属性
  • 代码示例

描述

Describe 函数可返回 ArcInfo Workstation INFO 表的以下属性。还支持表属性和数据集属性。

INFO 表可返回 "ArcInfoTable" 的 dataType。

属性

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

表中项目的 Python 列表。列表中的每个条目都是 ArcInfo Workstation 项目属性描述对象,代表着表中的一个项目。

Object

代码示例

ArcInfo Workstation 表属性示例(独立脚本)

以下独立脚本显示了 ArcInfo Workstation 表的表属性。该脚本随后获得 ArcInfo Workstation 项目列表,并打印每一项目的名称。

import arcpy

# Create a Describe object from the ArcInfo Table.
#
desc = arcpy.Describe("C:/data/crimefreq")

# Print a Table property from the ArcInfo Table.
#
#print "HasOID:       " + desc.hasOID
print "%-11s %s" % ("HasOID:", desc.hasOID)


# Get the itemSet from the ArcInfo Table and
# print the name and item type of each item.
#
iSet = desc.itemSet
for item in iSet:
    print "%-12s %s" % ("\nName:", item.name)
    print "%-11s %s" % ("Item type:", item.itemType)

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2021 Esri. | 隐私政策 | 法律声明