Select to view content in your preferred language

ArcGIS Pro, grid label format and interval

1228
2
Jump to solution
03-30-2023 02:05 AM
ClaudiaFries
Occasional Contributor

Dear esri community,

may I ask for your hepl, please?

I am preparing a map, drawn in UTM. However, in layout graticule grid labels for WGS84 shall be presented in this format: 51° 37.535'N   01° 26.206'E

With the following tags the result is like this: 51°37.535' N   001°26.206' E
<dyn type="grid" units="ddm" padDegrees="True" padMinutes="True" showZeroMinutes="true" zeroPad="true" decimalPlaces="3" directionSeparator = " "/>

Is there any way to remove one of the leading zero of Longitude degree?
(001°26.206' E to 01°26.206' E)

Secondly, I noticed a strange behaviour for the interval. For the requested scale I would say, it is not required to show decimal places of minutes, as the interval is 4 minutes. However, with all these decimal places I now see the following:

Expected:     001°00.000' E        001°04.000' E        001°08.000' E
Drawn:           001°00.000' E        001°03.996' E        001°07.998' E

If anyone has an idea what could be the reason for this (and how to change it to full 4 minute intervals), I would be very grateful.

Thank you very much in advance and best regards,
Claudia

ClaudiaFries_0-1680166937727.png

 

0 Kudos
1 Solution

Accepted Solutions
TomBole
Esri Regular Contributor

Hi Claudia, 

Unfortunately, there is no way to "partially" pad. For latitudes padding the degrees will always have 2 digits and for longitude 3 digits.

Per the help:

Screenshot.PNG

For more information see Work with grid label tags.

It also looks like you are running into a known rounding bug - Grid graticules in ArcGIS Pro layouts show incorrect labels at specific intervals (BUG-000142703). Please contact Technical Support if you would like to add your organization to those monitoring the issue.

In the meantime since your intervals are in minutes I would advise using 1 or 2 decimals, or not displaying any decimals at all. 

Hope this helps,

Tom

View solution in original post

2 Replies
TomBole
Esri Regular Contributor

Hi Claudia, 

Unfortunately, there is no way to "partially" pad. For latitudes padding the degrees will always have 2 digits and for longitude 3 digits.

Per the help:

Screenshot.PNG

For more information see Work with grid label tags.

It also looks like you are running into a known rounding bug - Grid graticules in ArcGIS Pro layouts show incorrect labels at specific intervals (BUG-000142703). Please contact Technical Support if you would like to add your organization to those monitoring the issue.

In the meantime since your intervals are in minutes I would advise using 1 or 2 decimals, or not displaying any decimals at all. 

Hope this helps,

Tom

ClaudiaFries
Occasional Contributor

Hi Tom,

thanks a lot for confirming that the longitude padding is only possible with 3 digits. So I will let the client decide, padding or no padding....

And also thanks for the information about the bug. At least now I know what I can suggest and implement and what not...

Have a great weekend!

Best,
Claudia

0 Kudos