Class: RGeo::CoordSys::CS::LocalDatum

Inherits:
Datum show all
Defined in:
lib/rgeo/coord_sys/cs/entities.rb

Overview

OGC spec description

Local datum. If two local datum objects have the same datum type and name, then they can be considered equal. This means that coordinates can be transformed between two different local coordinate systems, as long as they are based on the same local datum.

Instance Attribute Summary

Attributes inherited from Datum

#datum_type

Attributes inherited from Info

#abbreviation, #alias, #authority, #authority_code, #name, #remarks

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Datum

#initialize

Methods inherited from Info

#extension, #initialize

Methods inherited from Base

#encode_with, #eql?, #hash, #init_with, #inspect, #marshal_dump, #marshal_load, #to_s, #to_wkt

Constructor Details

This class inherits a constructor from RGeo::CoordSys::CS::Datum

Class Method Details

.create(name, datum_type, *optional) ⇒ Object

Create a LocalDatum given a name and a datum type code. You may also provide the optional parameters specified by the Info interface.



776
777
778
# File 'lib/rgeo/coord_sys/cs/entities.rb', line 776

def create(name, datum_type, *optional)
  new(name, datum_type, *optional)
end

Instance Method Details

#wkt_typenameObject



767
768
769
# File 'lib/rgeo/coord_sys/cs/entities.rb', line 767

def wkt_typename
  "LOCAL_DATUM"
end