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

Invalid zoneNum for longitude = 180 #7

Open
shonji-slm opened this issue Apr 26, 2022 · 0 comments
Open

Invalid zoneNum for longitude = 180 #7

shonji-slm opened this issue Apr 26, 2022 · 0 comments

Comments

@shonji-slm
Copy link

Appears it's been 5 years or so since this code was last touched. In the case it's still being maintained...

  • latLonToZone() returns either zone 1 and 61 for longitudes -180 and 180, respectively. It should return zone 1 for both values.
  • the easting returned from fromLatLong() depends on the current behavior of latLonToZone(); fixing the latter breaks the former.

Thanks ;)

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