Class: Mercator::Sweref99
- Inherits:
-
Projection
- Object
- Projection
- Mercator::Sweref99
- Defined in:
- lib/mercator/projection.rb
Overview
Base SWEREF 99 class that sets some common SWEREF 99 properties.
Direct Known Subclasses
Sweref991200, Sweref991330, Sweref991415, Sweref991500, Sweref991545, Sweref991630, Sweref991715, Sweref991800, Sweref991845, Sweref992015, Sweref992145, Sweref992315, Sweref99TM
Instance Attribute Summary
Attributes inherited from Projection
#central_meridian, #false_easting, #false_northing, #scale
Instance Method Summary collapse
-
#initialize ⇒ Sweref99
constructor
A new instance of Sweref99.
Constructor Details
#initialize ⇒ Sweref99
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 |