Hi All,
Description:
I'm working on a map layout in ArcGIS Pro 3.5.4 where I need to display grid coordinates with consistent formatting by padding them with leading zeros.
The Problem:
I have grid coordinates with varying digit lengths (e.g., 32, 130, 9, 2654) and I need them all to display as 4 digits (0032, 0130, 0009, 2654).
What I've Tried:
1. Using the zeroPad attribute—but it only pads decimal places, not the whole coordinate value.
2. Adding zeros manually before the tag:
00<dyn type="grid" decimalPlaces="0" showDirections="False" separator="False"/>This adds the zeros but they're not considered when applying placeValue and digits slicing, so I end up with incorrect outputs like 0032 for "32" but 006524 for "2654".
3. Exploring padDegrees, padMinutes, padSeconds—these only work for graticule coordinates, not measured grids
Constraints:
@Muhammad_Elbagoury - I tried a few things on my side to see if I could find an OTB solution but did not. I see you added an ArcGIS Idea so that's a great start to get visibility with the ArcGIS Pro Development Team!