class RGeo::CoordSys::CS::VerticalCoordinateSystem

OGC spec description

A one-dimensional coordinate system suitable for vertical measurements.

Attributes

vertical_datum[R]

Gets the vertical datum, which indicates the measurement method.

vertical_unit[R]

Gets the units used along the vertical axis. The vertical units must be the same as the CS_CoordinateSystem units.

Public Class Methods

create(name_, vertical_datum_, vertical_unit_, axis_, *optional_) click to toggle source

Create a VerticalCoordinateSystem given a name, a VerticalDatum, a LinearUnit, and an AxisInfo. The AxisInfo is optional and may be nil. You may also provide the optional parameters specified by the Info interface.

# File lib/rgeo/coord_sys/cs/entities.rb, line 1384
def create(name_, vertical_datum_, vertical_unit_, axis_, *optional_)
  new(name_, vertical_datum_, vertical_unit_, axis_, *optional_)
end

Public Instance Methods

get_axis(index_) click to toggle source

Implements RGeo::CoordSys::CS::CoordinateSystem#get_axis

# File lib/rgeo/coord_sys/cs/entities.rb, line 1360
def get_axis(index_)
  @axis
end
get_units(index_) click to toggle source

Implements RGeo::CoordSys::CS::CoordinateSystem#get_units

# File lib/rgeo/coord_sys/cs/entities.rb, line 1353
def get_units(index_)
  @vertical_unit
end