A 2D cartographic coordinate system.
Returns the GeographicCoordinateSystem.
Returns the LinearUnits. The linear unit must be the same as the CS_CoordinateSystem units.
Gets the projection.
Create a ProjectedCoordinateSystem given a name, a GeographicCoordinateSystem, and Projection, a LinearUnit, and two AxisInfo objects. The AxisInfo objects are optional and may be set to nil. You may also provide the optional parameters specified by the Info interface.
# File lib/rgeo/coord_sys/cs/entities.rb, line 1575 def create(name_, geographic_coordinate_system_, projection_, linear_unit_, axis0_, axis1_, *optional_) new(name_, geographic_coordinate_system_, projection_, linear_unit_, axis0_, axis1_, *optional_) end
Implements RGeo::CoordSys::CS::CoordinateSystem#get_axis
# File lib/rgeo/coord_sys/cs/entities.rb, line 1547 def get_axis(index_) index_ == 1 ? @axis1 : @axis0 end
Implements RGeo::CoordSys::CS::CoordinateSystem#get_units
# File lib/rgeo/coord_sys/cs/entities.rb, line 1540 def get_units(index_) @linear_unit end