漏洞 ID 编号 |
BUG-000171769 |
已提交 | October 25, 2024 |
上次修改时间 | June 2, 2025 |
适用范围 | ArcGIS Pro |
找到的版本 | 3.3 |
操作系统 | Windows Server |
操作系统版本 | 2019 64 Bit |
状态 | As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
|
附加信息
When the point symbols are set to 'Vary symbology by attribute', the editing tools like Move and Rotate update an existing null rotation attribute to either 90 (for arithmetic rotation style) or 360 (for geographic style) to keep the symbol pointing up in the map. If the same field is used to set the rotation of a label, that same rotation is being applied to the label because it is following the point symbol. In this case, use the Maplex Label Engine and set a rotation expression using Arcade in the Rotation field expression box as follows: "IIF(IsEmpty($feature.Angle), $feature.Angle, $feature.Angle - 90)". Refer to https://pro.arcgis.com/en/pro-app/latest/help/mapping/text/labels-for-point-features.htm and https://pro.arcgis.com/en/pro-app/latest/help/mapping/text/set-label-rotation-using-a-numeric-field.htm for more information.
解决办法
Use the Maplex Label Engine and set a rotation expression using Arcade in the Rotation field expression box as follows: "IIF(IsEmpty($feature.Angle), $feature.Angle, $feature.Angle - 90)". Refer to https://pro.arcgis.com/en/pro-app/latest/help/mapping/text/labels-for-point-features.htm and https://pro.arcgis.com/en/pro-app/latest/help/mapping/text/set-label-rotation-using-a-numeric-field.htm for more information.
重现步骤