WorldWindJava
WorldWindJava copied to clipboard
Mgrs fix
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