When latitude and longitude attributes are created in ArcGIS Pro and converted to the degrees minutes second (DMS) format, the degree, minute and second symbols are not displayed.
Last Published: March 1, 2018ArcGIS Pro
Bug ID Number
BUG-000110855
Submitted
January 16, 2018
Last Modified
June 5, 2024
Applies to
ArcGIS Pro
Version found
2.0.1
Status
Non-Reproducible
This issue was not reproducible when tested by the development team. Issues may be given this status when they cannot be reproduced or are no longer relevant in a development version of the software, but a specific fix was not installed to address the issue. The issue's Additional Information section may contain further explanation.
Additional Information
"DMS 1" & "DMS 2" format produce output as per design. The design does not include the symbols (for degree, minute second). This format was as requested. This is not to say it could not be improved, though that would mean an enhancement request (instead of this bug fix request).
WORKAROUND
It is already possible to achieve what's asked by doing the following (ArcGIS Pro code below)
- add a new text field (named "pretty_dms" for now) to the data
- run CalculateField, with the following parameter values
- field Name : pretty_dms
- expression type: python
- expression: pretty(!DMSLatLon!)
- in the code Block paste the code below
def pretty(v):
v = v.split(" ")
return v[0] + "\u00b0 " +\
v[1] + "\u2032 " +\
v[2][:-1] + "\u2033" + v[2][-1:] + " " +\
v[3] + "\u00b0 " +\
v[4] + "\u2032 " +\
v[5][:-1] + "\u2033" + v[5][-1:]
Workaround
Create latitude and longitude attributes in DMS format in Arcmap and open the data in ArcGIS Pro.