Esri / distance-direction-addin-dotnet

Add-in provides the ability to easily and quickly create geodesy lines, circles, ellipses and range rings.
Apache License 2.0
17 stars 22 forks source link

Center point inputted in DDM format is placed in wrong location #681

Closed lfunkhouser closed 5 years ago

lfunkhouser commented 5 years ago

Center point when entered manually in DDM format results in features drawn at inaccurate locations.

MT build 3.6.342 and Pro 2.5

Repro steps

  1. Add the center point (in DDM format) 40 26.3033N 079 59.5243W
  2. Enter 500km radius
  3. Press enter

Result: Circle created off the coast of Chile

Also tested on: Released version of MT 3.5.0.317 and Pro 2.4 Final DEV MT 3.6.342 and Pro 2.4 Final: Entering same coordinates, 40 26.3033N 079 59.5243W Same results: image

Expected Result

Circle should be drawn, with center point in Pittsburgh, PA image

This can be confirmed by using the following formats for the center point of the circle: DD: 40.438389N 079.992071W DMS: 40 26 18.20N 079 59 31.46W MGRS: 17TNE8548476903 USNG: 17T NE 85484 76904 UTM: 17N 585484 4476903

lfunkhouser commented 5 years ago

@csmoore could you take a look at this? Seems like a familiar issue, https://github.com/Esri/coordinate-conversion-addin-dotnet/issues/575...

lfunkhouser commented 5 years ago

Retested with 40 26.3033N 079 59.5243W and it is off coast of Chile with MT 3.6.0.345 and Pro 2.5.0.21577. Not sure how I got it in Russia as originally written in the issue. But now consistently reproduced in Pacific Ocean off of Chile.

csmoore commented 5 years ago

Thanks for reconfirming - that makes a little more sense since I could not see where this code had been changed since the last release and you are correct that this definitely looks like a reoccurrence of https://github.com/Esri/coordinate-conversion-addin-dotnet/issues/575

csmoore commented 5 years ago

Still looking at this issue - see comment at: https://github.com/Esri/coordinate-conversion-addin-dotnet/issues/575#issuecomment-535283948

csmoore commented 5 years ago

Can retest after:

https://github.com/Esri/coordinate-conversion-addin-dotnet/pull/636 https://github.com/Esri/coordinate-conversion-addin-dotnet/issues/575

dfoll commented 5 years ago

Testing using MT build 346

Could no longer repro in Pro 2.4 image image

Could no longer repro in ArcMap 10.4.1 image image