Select to view content in your preferred language

How to show edited grid labels within the same map frame extent in ArcGIS Pro?

167
2
a month ago
Muhammad_Elbagoury
Regular Contributor

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:

  1. Display the edited grid labels within the same map frame extent, or

  2. 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!

0 Kudos
2 Replies
RichardHowe
Frequent Contributor

You could convert those labels to an annotation feature class and then you have manual control over their location

Muhammad_Elbagoury
Regular Contributor

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:

  1. 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.

  2. 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!

0 Kudos