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

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

Creating a calculated representation specification rule

获得 Production Mapping 许可后可用。

Calculated representation specification rules contain descriptive information to identify the rule as well as the Structured Query Language (SQL) statements and Visual Basic Scripting Edition (VBScript) expressions that define the symbolization for the statement. The SQL statements allow you to choose the attributes you want to use from both feature layers and stand-alone tables. For example, you can construct a query in which you include features where the Name field in a feature class is equal to the Full_Name field in a stand-alone table.

  1. 启动 ArcMap。
  2. 在主菜单上,单击自定义 > 工具条 > 生产制图。
  3. 如有必要,可在地图中加载数据。
  4. Right-click the layer for which you want to define the calculated representations and click Properties.

    The Layer Properties dialog box appears.

  5. Click the Calculated Representations tab.

    Calculated Representations tab

  6. Click the Specification drop-down arrow and choose the specification for which you want to create the rule.
  7. Click Options > New Rule.

    A new row appears in the rule table.

  8. Double-click the Rule Description field and type a name for the rule.
  9. Click the ellipsis (...) in the Representation Name cell.

    The Representation properties dialog box appears.

  10. Check the Edit Options check box.

    The following items become available:

    • ID Field text box
    • Override Field text box
    • Store change to geometry as representation override option
    • Change the geometry of the supporting feature option

    Representation Properties dialog box

  11. Click Add to change the name in the Name text box.

    The New Representation Name dialog box appears.

  12. If necessary, type a new name for the representation rule in the text box.

    注:

    The default name is <feature layer name>_<specification name>.

  13. Click OK.
  14. If necessary, type the name of a different field to use for storing the RuleIDs in the ID Field text box.
  15. If necessary, type the name of a different field to use for storing override information in the Override Field text box.
  16. Choose an option for geometry editing behavior.
    • Store change to geometry as representation override—Any changes made to feature geometry during an edit session are stored as representation overrides. The original shape is copied, modified, and stored in the override field. This allows you to maintain the original feature's spatial integrity and use the representation override for display. This is the default.
    • Change the geometry of the supporting feature—Any changes made to feature geometry during an edit session are stored in the shape, as a standard geometry edit. You can use this option for display only databases.
  17. Click OK.

    The Calculated Representations tab appears.

  18. Click the SQL Statement drop-down arrow and click Edit SQL statement.

    The Query Builder dialog box appears.

  19. Define a statement that includes the features you want to symbolize.
  20. Click OK.
  21. If necessary, click the Expression drop-down arrow and click Edit Expression.

    The Expression Parser dialog box appears.

  22. Define the expression that refines the symbolization of the results of the SQL statement.
  23. Click OK.
  24. Click the ellipsis (...) in the Representation Rule field.

    The Representation Rule Selector dialog box appears for the geometry type that matches the layer for which you are creating the representation rule.

  25. Choose the representation you want to use from an available style.
  26. Click OK.

    The Calculated Representations tab appears.

    At this point, you can either finish the rule creation process or define fields that allow you to override the default symbol.

    • To finish the rule creation process, proceed to step 27.
    • To define fields that allow you to override the default symbol, proceed to Defining override conditions for representations.

  27. To ensure that the feature class is updated with the rule information, verify that the Update Feature Class(es) check box is checked.

    注:

    You can also execute the Calculate Visual Specifications geoprocessing tool to update the feature class. This tool allows you to update several layers at once using one or more visual specifications.

  28. Check the Preserve Free Representations check box to prevent the tool from overwriting any free representations in the feature class.
  29. Click OK.

相关主题

  • Creating a new specification
  • Creating a calculated field specification rule
  • Adding a specification rule
  • Configuring calculated representation rule properties
  • Preserving free representations
  • 什么是制图表达?
  • 了解制图表达规则
  • SQL statements and visual specifications
  • Defining a SQL statement
  • Loading a SQL statement
  • VBScript and visual specifications
  • Creating VBScript expressions for calculated representations
  • Creating VBScript expressions for calculated fields
  • Saving a VBScript expression for later use
  • Loading a VBScript expression

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

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

关于 Esri

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