Auto Angle Setter
The out-of-the-box autoupdater Auto Angle Setter can be used within any domain network. When placing or moving any point feature, the autoupdater runs in the background to calculate the symbology rotation based upon parameters you have defined. This autoupdater helps the user see point features in the map in an easy to see format while automating that process for the editor. Both the device and junction layers rotate their symbols when placed or moved spatially coincident to a line feature, while the StructureJunction layer rotates its symbols when placed or moved spatially coincident to a StructureLine feature. The autoupdater requires valid connectivity is present between the points and line layers. This autoupdater assumes that your baseline symbology is oriented at 0°, and does not contain any offsets.
The first step to using Auto Angle Setter is to configure symbology in your map for your point layers. Vary symbology by rotation—ArcGIS Pro | Documentation contains information on how to complete this.
The next step in configuring this autoupdater happens in Solution Center. Within your autoupdater orchestration, three parameters need to be defined. These can be viewed in the out-of-the-box autoupdater under Workflows > Default Workflow Studio > ArcGIS Server > OOTB — Auto Angle Setter. Copy and paste either the AncestralId or the MetadataId from the OOTB autoupdater to your autoupdater orchestration in the Studio tab of Solution Center.
-
Set your se_symbolRotationField equal to the name of the field that will be updated with the calculated angle of rotation. It’s important to set it to the field name and not the display name. You can find this field name easily in ArcGIS Pro. From the Contents pane, right-click on the layer, select Data Design, and then Fields. From this view, you can easily view the field names; e.g., symbolrotation may be the field name while Symbol Rotation may be its alias. Be sure to put quotes around your parameter value.
-
Next, set your se_rotationStyle equal to the name of the rotation style selected in your layer; e.g., geographic or arithmetic. Be sure to put quotes around your parameter value.
-
Lastly, set your se_angleSetterMode equal to directional, fixed, or endpoint. Be sure to put quotes around your parameter value.
Angle Setter Modes
Directional
Directional mode measures the angle from the start point to the end point of the line segment. Below is an example of an open point feature placed with directional mode along an overhead primary conductor drawn from north to south. Symbol rotation for the point feature uses geographic rotation style.
Below is an example of an open point feature placed with directional mode along an overhead primary conductor drawn from south to north. Symbol rotation for the point feature uses geographic rotation style
Fixed
Fixed mode measures the angle using Directional, with the exception that 270° and 180° are considered 90° and 0°, respectively. Below is an example of an open point feature placed with fixed mode. Symbol rotation for the point feature uses geographic rotation style.
Below is an example of an open point feature placed along a line drawn north to south, also using Fixed. The open point feature is using the arithmetic rotation style.
Below is an example of an open point feature placed along a line drawn east to west using Fixed. The open point feature is using arithmetic rotation style.
Endpoint
Endpoint mode considers the nearest endpoint of the line segment the start point, and then measures the angle using Directional. Below is an example of an open point feature placed with endpoint mode and geographic rotation style.