Summary
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.
Usage
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.
Syntax
DynamicUpdateXY(in_workspace, input_feature_class_list, input_update_method, input_update_priority)
Parameter | Explanation | Data Type |
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.
| String |
input_update_priority | Indicates if geometry or attributes are updated.
| String |
Code sample
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)
Environments
Licensing information
- Basic: No
- Standard: No
- Advanced: Requires Aviation Charting