laptop and a wrench

Bug

In the Calculate Geometry Attributes (Data Management) tool, the following inputs are not displayed in the Coordinate Format parameter drop-down list: GARS (Global Area Reference System), GEOREF (World Geographic Reference System), MGRS (Military Grid Reference System), USNG (United States National Grid), UTM (Universal Transverse Mercator), and 'UTM with no spaces'.

ArcGIS Pro
Bug ID Number BUG-000157940
SubmittedApril 28, 2023
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found3.1.1
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusAs Designed

Additional Information

In the Calculate Geometry Attributes (Data Management) tool, the following inputs are not displayed in the Coordinate Format parameter drop-down list: GARS (Global Area Reference System), GEOREF (World Geographic Reference System), MGRS (Military Grid Reference System), USNG (United States National Grid), UTM (Universal Transverse Mercator), and 'UTM with no spaces'. This is not a bug. The geometry property 'Point x- and y-coordinate notation' is the only property that allows selecting coordinate formats like GARS, GEOREF, MGRS, etc. This property is only available with point input features. A two-step process can accomplish the end goal: by calculating the polygon centroid using one of the supported formats like DD, the Convert Coordinate Notation tool can be used to convert the centroid DD values into one of the coordinate notation formats like GARS, etc. An even more efficient workflow is to use the Calculate Field tool with this Python expression: arcpy.PointGeometry(!Shape!.trueCentroid, !Shape!.spatialReference).toCoordString("GARS") This expression creates a centroid PointGeometry object from the polygon's centroid point, then returns the GARS-formatted string using the toCoordString function. Refer to https://pro.arcgis.com/en/pro-app/latest/arcpy/classes/pointgeometry.htm for more information.

Steps to Reproduce

Bug ID: BUG-000157940

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options