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

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

Dynamic Update XY

  • 描述
  • 使用方法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

描述

Updates geometry or specified X, Y coordinate attributes for point feature classes in the ArcGIS Aviation Charting. Many points feature classes in an aeronautical data model store geometry as an attribute. This tool synchronizes geometry and coordinate attribute edits made on point features.

If you create a point feature class from X, Y coordinates, then move a point, the original X, Y attributes do not update with this change. If you edit attribute coordinates, the associated feature point does not move. The attribute coordinates in the attribute table may not match the feature geometry. This tool automatically updates and synchronizes your existing features.

使用方法

  • You need to define the settings that will determine which feature classes and fields will participate in the dynamic updates before running this tool.

  • Input Workspace must contain all the feature classes listed in Input Feature Classes and supporting aeronautical tables (such as PROPERTIES). The tool returns Error 090016 The Dynamic Update X,Y Coordinate properties must be set before running this tool if you use a workspace missing these tables.

语法

arcpy.aviation.DynamicUpdateXY(in_workspace, input_feature_class_list, input_update_method, input_update_priority)
参数说明数据类型
in_workspace

The workspace that contains the input feature classes. This workspace must also contain the PROPERTIES table that describes how the input feature classes are updated.

Workspace
input_feature_class_list
[input_feature_class_list,...]

The feature classes to be updated.

String
input_update_method

Indicates the processing extent of the update.

  • SELECTED_FEATURES —Default if features are selected and disabled if no features are selected. Only available in ArcMap.
  • FULL_EXTENT —Runs on the full extent of the data—the entire dataset.
String
input_update_priority

Indicates if geometry or attributes are updated.

  • UPDATE_GEOMETRY —Geometry is changed to match the attributes.
  • UPDATE_ATTRIBUTES —Attributes are changed to match the geometry.
String

代码示例

DynamicUpdateXY example (Python window)

The following Python window script demonstrates how to use the DynamicUpdateXY tool.

# workspace with inFeatures data and PROPERTIES table
inWorkspace = "c:/data/dynamicUpdateXY.gdb"

# features to update
inFeatures = "Schools"

# update type
inUpdateMethod = "FULL_EXTENT"
inUpdatePriority = "UPDATE_ATTRIBUTES"

# execute DynamicUpdateXY tool
arcpy.DynamicUpdateXY_aviation(inWorkspace,inFeatures,inUpdateMethod,inUpdatePriority)

环境

  • 当前工作空间

许可信息

  • Basic: 否
  • Standard: 否
  • Advanced: 需要 Aviation Charting

相关主题

  • An overview of the Data Editing toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

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

关于 Esri

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