WorldWindJava icon indicating copy to clipboard operation
WorldWindJava copied to clipboard

Mgrs fix

Open gbburkhardt opened this issue 6 years ago • 0 comments

Description of the Change

Fix two problems:

a) Index out of bounds error due to typo in convertMGRSToUPS; clearly the index should have been 1 instead of 12. b) Conversions from geodetic to MGRS would fail for low southern latitudes (zone 0). Geotrans 3.7 has this problem fixed. The WorldWind conversion code was derived from NGA's Geotrans. Test case: Lat: -89.345400 deg, Lon: -48.930600 deg ==> MGRS: AZN 45208 47747

Why Should This Be In Core?

Bug fix

Benefits

Correct conversion from geodetic to MGRS

Potential Drawbacks

Applicable Issues

gbburkhardt avatar Jun 21 '18 01:06 gbburkhardt