Skip to content

Invalid zoneNum for longitude = 180 #7

@shonji-slm

Description

@shonji-slm

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 ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions