Dynamic Update XY (Aviation)

许可等级:BasicStandardAdvanced

摘要

Updates geometry or specified X, Y coordinate attributes for point feature classes in the ArcGIS for 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.

用法

语法

DynamicUpdateXY_aviation (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_FEATURESDefault if features are selected and disabled if no features are selected. Only available in ArcMap.
  • FULL_EXTENTRuns on the full extent of the data—the entire dataset.
String
input_update_priority

Indicates if geometry or attributes are updated.

  • UPDATE_GEOMETRYGeometry is changed to match the attributes.
  • UPDATE_ATTRIBUTESAttributes 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)

环境

相关主题

许可信息

ArcGIS for Desktop Basic: 否
ArcGIS for Desktop Standard: 否
ArcGIS for Desktop Advanced: 需要 Aviation Charting
4/27/2014