An aggregate of two coordinate systems (CRS). One of these is usually a CRS based on a two dimensional coordinate system such as a geographic or a projected coordinate system with a horizontal datum. The other is a vertical CRS which is a one-dimensional coordinate system with a vertical datum.
Gets first sub-coordinate system.
Gets second sub-coordinate system.
Create a CompoundCoordinateSystem given two sub-coordinate systems. You may also provide the optional parameters specified by the Info interface.
# File lib/rgeo/coord_sys/cs/entities.rb, line 1161 def create(name_, head_, tail_, *optional_) new(name_, head_, tail_, *optional_) end
Implements RGeo::CoordSys::CS::CoordinateSystem#get_axis
# File lib/rgeo/coord_sys/cs/entities.rb, line 1131 def get_axis(index_) hd_ = @head.dimension index_ < hd_ ? @head.get_axis(index_) : @tail.get_axis(index_ - hd_) end
Implements RGeo::CoordSys::CS::CoordinateSystem#get_units
# File lib/rgeo/coord_sys/cs/entities.rb, line 1139 def get_units(index_) hd_ = @head.dimension index_ < hd_ ? @head.get_units(index_) : @tail.get_units(index_ - hd_) end