Class: RGeo::CoordSys::CS::Datum
- Defined in:
- lib/rgeo/coord_sys/cs/entities.rb
Overview
OGC spec description
A set of quantities from which other quantities are calculated. For the OGC abstract model, it can be defined as a set of real points on the earth that have coordinates. EG. A datum can be thought of as a set of parameters defining completely the origin and orientation of a coordinate system with respect to the earth. A textual description and/or a set of parameters describing the relationship of a coordinate system to some predefined physical locations (such as center of mass) and physical directions (such as axis of spin). The definition of the datum may also include the temporal behavior (such as the rate of change of the orientation of the coordinate axes).
Notes
This is a non-instantiable abstract class. You must instantiate one of the subclasses HorizontalDatum, VerticalDatum, or LocalDatum.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#datum_type ⇒ Object
readonly
Gets the type of the datum as an enumerated code.
Attributes inherited from Info
#abbreviation, #alias, #authority, #authority_code, #name, #remarks
Instance Method Summary collapse
-
#_wkt_content(_open_, _close_) ⇒ Object
:nodoc:.
-
#initialize(name_, datum_type_, *optional_) ⇒ Datum
constructor
:nodoc:.
Methods inherited from Info
Methods inherited from Base
#_to_wkt, #encode_with, #eql?, #hash, #init_with, #inspect, #marshal_dump, #marshal_load, #to_s, #to_wkt
Constructor Details
#initialize(name_, datum_type_, *optional_) ⇒ Datum
:nodoc:
706 707 708 709 |
# File 'lib/rgeo/coord_sys/cs/entities.rb', line 706 def initialize(name_, datum_type_, *optional_) # :nodoc: super(name_, *optional_) @datum_type = datum_type_.to_i end |
Instance Attribute Details
#datum_type ⇒ Object (readonly)
Gets the type of the datum as an enumerated code.
712 713 714 |
# File 'lib/rgeo/coord_sys/cs/entities.rb', line 712 def datum_type @datum_type end |
Instance Method Details
#_wkt_content(_open_, _close_) ⇒ Object
:nodoc:
714 715 716 |
# File 'lib/rgeo/coord_sys/cs/entities.rb', line 714 def _wkt_content(_open_, _close_) # :nodoc: [] end |