ArcGIS Desktop

  • 文档
  • 支持

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

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

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS for Developers

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

ArcGIS Solutions

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

ArcGIS Marketplace

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

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

Help

  • 主页
  • 入门
  • 制图
  • 分析
  • 管理数据
  • 工具
  • 更多...

Add Representation Fields

  • 摘要
  • 用法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

摘要

Defense Mapping configuration tool that applies representation symbology to the input features. This tool applies symbology to many layers and links feature attributes to representation rules and label expressions.

用法

  • You can apply multiple visual specifications to multiple input features.

  • The Visual Specifications Workspace contains the visual specifications you can apply to input features.

  • This tool adds fields to the input features. The number and names of the fields will vary but will include the following:

    • A field that holds the representation rule number. This is known as the representation rule field.
    • An override field associated with the representation to store symbol exception information. The override field contains exception information on an individual representation.
    • An optional new or existing field that holds calculated values. The calculated field contains the value that is produced as part of the selected specification.

  • The representation rule field contains the number of the symbol being used for the feature class in association with feature class representations.

语法

AddRepresentationFields_defense (in_features, in_visual_spec_workspace, in_specs)
参数说明数据类型
in_features
[in_features,...]

The feature classes where the visual specifications field will be added.

Feature Layer
in_visual_spec_workspace

The location of the workspace that contains the visual specifications table (VST_Specification). This table can be stored in a personal, file, or enterprise geodatabase.

Workspace
in_specs
[in_specs,...]

The visual specifications you want to apply to the selected feature layers and feature classes.

String

代码示例

AddRepresentationFields example (Python window)

The following code example demonstrates how to execute the AddRepresentationFields function.

# Set up input features, visual specification database, and specification
features = "C:/Example/example.gdb/MGCP/AerofacA;C:/Example/example.gdb/MGCP/AerofacP;C:/Example/example.gdb/MGCP/AgristrA;C:/Example/example.gdb/MGCP/AgristrP"
visualSpecification = "C:/Program Files (x86)/ArcGIS/EsriDefenseMapping/Desktop10.4/Mgcp/Cartography/Symbology/MGCP_TRD_4_3_MTM_Visual_Specification.mdb"
specification = "'MGCP_50K :: MGCP TRD 4.3 Visual Specification for MGCP Topographic Map (MTM)'"

# Running Add Representation Fields tool
arcpy.AddRepresentationFields_defense(features, visualSpecification, specification)

环境

  • 当前工作空间

许可信息

  • ArcGIS Desktop Basic: 否
  • ArcGIS Desktop Standard: 需要 Defense Mapping
  • ArcGIS Desktop Advanced: 需要 Defense Mapping

相关主题

  • An overview of the Symbology toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS 平台

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

关于 Esri

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