IUnitConverter.ConvertUnits performs an incorrect conversion of coordinates from meters to decimal degrees.
Last Published: May 14, 2019ArcObjects SDK
Bug ID Number
BUG-000121763
Submitted
April 16, 2019
Last Modified
June 5, 2024
Applies to
ArcObjects SDK
Version found
10.6
Status
Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
Additional Information
When the input unit is meters and the output unit is decimal degrees, IUnitConverter converts the distance in meters along the equator to the equivalent number of decimal degrees. For example, if the distance in meters is half the circumference of the earth at the equator, IUnitConverter will return 180. The distance for the x-coordinate is 628085.983 which is about 0.0157 of the length of the equator. The result then is 0.157 * 360 = 5.648515713429431.
Note: It doesn't say anything about this in the doc, so I understand your confusion. We will update the doc in 10.7.2 or 10.8 which ever is its designation [which as of today has not been determined]. It is too late to update the doc for 10.7.1