lib/easting_northing.rb
Method to_osgb_36
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def to_osgb_36
osgb_fo = 0.9996012717
northing0 = -100_000.0
easting0 = 400_000.0
phi0 = deg_to_rad(49.0)
Method to_WGS84
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def to_WGS84(latlng)
latitude = latlng[0]
longitude = latlng[1]
a = 6_377_563.396