Here we have placed point symbols for a MAP Point layer. However, we want to change the point angle using the Attribute values.
Below is the attribute table for the point data shown above. The field directionAngle is the field containing the symbol rotation value. With MAPublisher, it’s possible to assign this value to every symbol in this layer.
- Open the Edit Schema dialog box from the MAP Attribute panel. Find the field called #Rotation from the attribute field list. This #Rotation field is hidden/invisible by default. Click the Visible option to enable it and click OK.
- In the MAP Attributes panel, you can see that the #Rotation field shown. The values in this field is 0.00 degree for every point in the layer. We’ll assign the angle value from the directionAnglefield to the #Rotation value .
3. Open the Apply Expression dialog box from the MAP Attributes panel. Enter the column name directionAngle for the Expression and ensure that the value will be applied to the field #Rotation.
4. Every value from the directionAngle field is now inherited by the #Rotation field.
As a result, the rotation angle is now applied to every point.
The origin of the rotation is at each point’s registration point.
Please sign in to leave a comment.