I am trying to duplicate some functionality in ArcMap,

ArcMap will rotate a label to fit inside a polygon. If you convert the labels to annotation this rotation value is available in the annotation table. How can I calculate a rotation for a label just using the polygon geometry and Python?

Here is the label behavior I am talking about


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.