Class: RGeo::CoordSys::CS::VerticalDatum

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

Overview

OGC spec description

Procedure used to measure vertical distances.

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

#_to_wkt, #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 VerticalDatum given a name and a datum type code. You may also provide the optional parameters specified by the Info interface.



737
738
739
# File 'lib/rgeo/coord_sys/cs/entities.rb', line 737

def create(name_, datum_type_, *optional_)
  new(name_, datum_type_, *optional_)
end

Instance Method Details

#_wkt_content(_open_, _close_) ⇒ Object

:nodoc:



728
729
730
# File 'lib/rgeo/coord_sys/cs/entities.rb', line 728

def _wkt_content(_open_, _close_) # :nodoc:
  [@datum_type]
end

#_wkt_typenameObject

:nodoc:



724
725
726
# File 'lib/rgeo/coord_sys/cs/entities.rb', line 724

def _wkt_typename # :nodoc:
  "VERT_DATUM"
end