surendra7009 / openmap

Automatically exported from code.google.com/p/openmap
Other
0 stars 0 forks source link

Incorrect scale calculation in CADRG #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
The change for this is done now.

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