Class: OsgbConvert::OSGB36

Inherits:
Coordinate show all
Defined in:
lib/osgb_convert.rb

Constant Summary

Constants included from Converter

Converter::ELLIPSE, Converter::HELMERT

Instance Attribute Summary

Attributes inherited from Coordinate

#height, #lat, #long

Instance Method Summary collapse

Methods inherited from Coordinate

#initialize

Methods included from Converter

#convert

Constructor Details

This class inherits a constructor from OsgbConvert::Coordinate

Instance Method Details

#wgs84Object



102
103
104
# File 'lib/osgb_convert.rb', line 102

def wgs84
  WGS84.new(*convert(lat, long, height, ELLIPSE[:airy1830], HELMERT[:osgb36toWGS84], ELLIPSE[:wgs84]))
end