Skip to content

ProjectionUTM #79

Open
Open
@helgekoch

Description

@helgekoch

I was just trying to integrate the new version 2.1.0. I tried the flat globe and the ProjectionUTM. In ProjectionUTM there seem to be some defects.

  • In the constructor which takes the zone as argument, the zone attribute is not set. So setZone has to be used instead.
  • I think the static method centralMeridianForZone does not work correctly. The central meridian is wrong at least for zone 32 (probably a lot of other zones too). Probably the formula should be something like

if (utmPos.getUTMZone() >= 31) { centralMeridian = ((6 * utmPos.getUTMZone() - 183) * Math.PI / 180.0); } else { centralMeridian = ((6 * utmPos.getUTMZone() + 177) * Math.PI / 180.0); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions