Hi everyone,
I have a layout with a grid in ArcGIS Pro. I wanted to add extra leading digits to the grid label numbers (for example, to make the coordinate values more complete), but the number of digits I need to add varies between labels — so I couldn’t do it using the standard grid label formatting, which only allows adding a fixed number of digits.
To work around this, I exported the grid to features using Python, edited the label values as needed, and then added the edited feature layer back to the layout.
However, the labels appear outside the map frame extent — they only show up when I zoom the map frame out, which I don’t want.
Is there a way to:
Display the edited grid labels within the same map frame extent, or
Convert the exported grid features back into a grid element or style so they behave like a normal layout grid?
Thanks in advance for any help or ideas!
You could convert those labels to an annotation feature class and then you have manual control over their location
Thanks for the suggestion!
After converting the grid to features, I actually already have an annotation layer, so I can manually edit and control the labels.
However, I’m facing two issues:
When I try to build a custom grid, I can’t find this annotation layer listed as an option to choose as the source layer in the custom grid properties.
I’m also trying to find an automatic way to position the labels in the same way as the original grid — without having to manually move each label.
Any ideas or workflows that could help with these two points would be greatly appreciated!