描述
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.
| String |
input_update_priority | Indicates if geometry or attributes are updated.
| 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