Showing 2 of 2 total issues
Method to_latlng
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def to_latlng(easting, northing, type = :gb)
if type == :ie
@OSGB_F0 = 1.000035
@N0 = 250000.0
Method to_WGS84
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def to_WGS84
if @type == :ie
@a = 6377340.189
@b = 6356034.447