I have a point dataset of streets in a housing development, which I overlaid on the world imagery basemap. There is a street name field for labeling. I need to have the north-south street labels oriented vertically, 90 degrees, and the east-west street labels oriented horizontally, 0 degrees. Is there an Arcade expression that will do that? Thank you.
Hi @XanderBakker The rotation of labels is simple in ArcGIS Pro and even with Arcade the appearance can be manipulated but all this effort is useless after publishing to AGOL you left with plain labels.
Publishing to a tile layer is not an option because the dataset contains multiple records. And after publishing to AGOL the hosted feature layer is used in a joined view to visualize a projectplanning with time slider.
In ArcGIS Pro 2.8.3
I show highways and which lanes are closed. With an arcade expression I can give the label multiple colors related to an attribute. And the position of the label is perpendicular repeated and aligned based on the direction of the polyline. I this situation it is important that the polylines have the same direction of the traffic flow.
In ArcGIS Online
Classic Viewer
- the arcade expression in not accepted. So why Arcade in ArcGIS pro is different from AGOL?
- in classic viewer the label can be aligned but very basic: Above, On or Below the polyline
Map Viewer
- the arcade expression in not accepted.
- labels can cannot be aligned anymore?
- the arcade expression is not accepted. So why Arcade in ArcGIS pro is different from AGOL?
- the arcade expression is not accepted.
- labels cannot be aligned anymore?
Hi @XanderBakker,
Thank you for the quick reply! I will look into the arcade matrix and looking forward to the new updates.
But unfortunately, the placement option to align the label is not available when I open Edit Style.
(I am working in a Project Delivery Site and tested in Chrome or Edge)
Hi @Stefan_Thorn ,
Sorry about that, but the alignment options will only be available for point data.
I saw there is an minor update for labels, allow overrun and repeat labels. And unfortunately, I had to make an extra feature layer to show labels perpendicular on the line and uses overrun to show also when zoomed out. Using two label classes to show the X in red and the O in green is not an option either because these labels will overlap.
hopefully new labelling options will be available soon.
Wow, I am looking at migrating from Enterprise to AGOL, but the limitations in AGOL are a big hurdle. I converted annotation to features since annotation is not supported. Got everything to display in ArcGIS Pro using Arcade. Labels sized and rotated based on field from the old annotation features. Unfortunately none of that stuff is supported in AGOL.
It seems the limitations are almost to great, let me know when the bugs are worked out!
here is an idea to vote for...
https://community.esri.com/t5/arcgis-online-ideas/rotate-labels-for-points-in-arcgis-online/m-p/1215...
checking in from the future..... i guess there still isn't an option to rotate the label but there is an option to rotate the symbol... i don't need to rotate the symbol of a circle! i must rotate and orient the position of the label. i thought AGOL was created to replace ArcReader, why does it lack in soooo many areas.
pretty sure Esri will never fix this because this is their selling point to use tile layers.
also checking in from the future... nearly 5 years after the original post and i still don't see an option to rotate labels in ArcGIS Online