Arcadeを使ってAGOLの道路名ラベルを回転する方法をご存じの方はいませんか?ラベルの回転に使えるangleというフィールドがあります。フィーチャは短いラインフィーチャの集まりで、表示されないようシンボル表示をオフにし、道路名ラベルをオンにしています。
If you have lines, the labels defined for the lines will follow the rotation of the lines:
Currently it would require quite some coding to determine the angle of the line. Although with the AGOL update of December 6th geometry functions where added to Arcade, these do not include functions to extract the angle of a portion of the line. See: Geometry Functions | ArcGIS for Developers
Which part of the line would you use to determine the angle anyway? The default labeling applied by ArcGIS Online, implement complex things like conflict handling. You will not be able to determine which part of the line will be used to place the label and calculate the angle.
Can you explain a little more why the default labeling of ArcGIS Online does not yield to required result?
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.