OpenMap-java/openmap

Incorrect scale calculation in CADRG

Closed this issue · 1 comments

Version 5.0.1 of CADRG.java has an error in the getScale method.

The current code reads:

lon1 = ll1.getX();
lon2 = ll2.getY();

When it should read 

lon1 = ll1.getX();
lon2 = ll2.getX();


In 5.0 the code read

lon1 = ll1.getLongitude();
lon2 = ll2.getLongitude();

Original issue reported on code.google.com by lance.e...@gmail.com on 7 Aug 2013 at 10:29

The change for this is done now.

Original comment by dfdietr...@gmail.com on 13 Nov 2013 at 3:04

  • Changed state: Fixed