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

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

Configuring calculated field properties

获得 Production Mapping 许可后可用。

Configuring a calculated field involves defining a SQL statement, a VBScript, and a field in which to store text strings. Similar to calculated representations, you can run code before and after the rule is run. This is all configured in the Visual Specifications Advanced View dialog box.

The Visual Specifications Advanced View dialog box
  1. Add a new rule if necessary.
  2. Double-click the Rule Description cell and type a description for the new rule.
  3. Click the ellipsis (...) in the Workspace cell and define the workspace.
  4. Click the Layer drop-down arrow and choose the map layer for the rule.
  5. Click the ellipsis (...) in the Rep/Field Name cell and define the Representation properties dialog box.
  6. Optionally, click the Pre Code drop-down arrow and choose the code you want to execute before the rule is run.
  7. Click the SQL Statement drop-down arrow and choose Edit SQL Statement.
  8. Define the SQL statement that defines the features to include with the rule.
  9. Click the Expression drop-down arrow and choose Edit Expression.

    The Expression Parser appears.

  10. Configure the VBScript you want to use to refine the feature selection for the rule.
  11. Click OK.

    An example of a text string appears in the Preview field.

  12. Optionally, click the Post Code drop-down arrow and choose the code you want to execute after the rule has been run.
  13. Optionally, click Apply to save the new rule and continue working in the Visual Specifications Advanced View window.
  14. Click OK to save all changes and close the Visual Specifications Advanced View dialog box.

相关主题

  • Creating a calculated field specification rule

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

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

关于 Esri

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