Class: OsgbConvert::WGS84

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

#osgb36Object



96
97
98
# File 'lib/osgb_convert.rb', line 96

def osgb36
  OSGB36.new(*convert(lat, long, height, ELLIPSE[:wgs84], HELMERT[:wgs84toOSGB36], ELLIPSE[:airy1830]))
end