Class: Mercator::Sweref99

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

Overview

Base SWEREF 99 class that sets some common SWEREF 99 properties.

Instance Attribute Summary

Attributes inherited from Projection

#central_meridian, #false_easting, #false_northing, #scale

Instance Method Summary collapse

Constructor Details

#initializeSweref99

Returns a new instance of Sweref99.



16
17
18
19
20
21
# File 'lib/mercator/projection.rb', line 16

def initialize
  super
  self.scale = 1.0
  self.false_northing = 0.0
  self.false_easting = 150000.0
end