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

USNGtoLL returns incorrect value #34

Open
monkeytroy opened this issue Oct 17, 2019 · 0 comments
Open

USNGtoLL returns incorrect value #34

monkeytroy opened this issue Oct 17, 2019 · 0 comments

Comments

@monkeytroy
Copy link

I am using USNG to build a grid and all the USNG zones seem to be one number off.

let usngConverter = new usng.Converter();
let centerCoords = usngConverter.USNGtoLL('4Q', true);

centerCoords is set to {lat: 19.828721999428463, lon: -163.77045633905962}

Which is incorrect according to other conversion sites. That seems to be the center of zone 3Q.

Put those coords into https://www.ngs.noaa.gov/NCAT/ which confirms the USNG value is 3QXB2876292996

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant