Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mgrs fix #157

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from
Open

Mgrs fix #157

wants to merge 10 commits into from

Conversation

gbburkhardt
Copy link
Contributor

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

…nd build instructions. Change GDAL native library loader to work with multiple JNI native libraries, as is produced by the standard GDAL build.
…wig/java/makefile.vc to delete 'org' directory during clean since it's a build product; confusion can result if it's not deleted when switching between swig versions
… previous didn't match Linux because different swig versions were used. Update source and javadoc files using source generated by Swig 3.
… haCndling of extreme southern latitude (zone 0) conversions following Geotrans 3.7 for guidance: should give Lat: -89.345400 deg, Lon: -48.930600 deg ==> MGRS: AZN 45208 47747
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant