Closed BobBooth closed 6 years ago
It is possible that is is fixed in the unmerged PR here: https://github.com/Esri/solutions-geoprocessing-toolbox/pull/654 @adgiles
This also affects the Alpha-Alpha label style. The Numeric style labels from 1 to 9, then the rest of the cells seem to get 1 values.
No the unmerged PR has nothing to do with this. I have had a visual look at the code and can’t see anything obvious to why this would be happening. I will dig a bit deeper tomorrow.
Out of interest is the label getting truncated for alpha-alpha and numeric, and is it also happening in ArcMap?
What is the length of the Grid field?
@adgiles - it does not seem to happen in ArcMap. In ArcMap, it is a string of 255. In Pro it is text of length 255.
Strange maybe something going on with joins in Pro
The script was reusing a rotate feature class function that was generic so that it could be used against any feature class. As part of this it used the arcpy.AddJoin_management to map over the existing feature class attributes. This process seemed to cause an issue in Pro.
As we know that there is only one attrribute field to map over (Grid) I have change script to do this in the search cursor and removed the join.
In PR https://github.com/Esri/solutions-geoprocessing-toolbox/pull/658
This would work as I would expect it to:
While testing https://github.com/Esri/solutions-geoprocessing-toolbox/issues/585 I encountered a new issue with the labeling of GRG from Point. If a rotation is applied to the grid, the labels are only getting the Alpha component of the Alpha-Numeric labeling system.
Steps to Reproduce (for bugs)
Context
Your Environment