Class: Mercator::Sweref99TM

Inherits:
Sweref99 show all
Defined in:
lib/mercator/projection.rb

Overview

SWEREF 99 TM class, one of the most common projection used by Swedish applications.

Instance Attribute Summary

Attributes inherited from Projection

#central_meridian, #false_easting, #false_northing, #scale

Instance Method Summary collapse

Constructor Details

#initializeSweref99TM



28
29
30
31
32
33
# File 'lib/mercator/projection.rb', line 28

def initialize
  super
  self.central_meridian = 15.0
  self.scale = 0.9996
  self.false_easting = 500000.0
end