Class: RGeo::CoordSys::CS::HorizontalCoordinateSystem
- Inherits:
-
CoordinateSystem
- Object
- Base
- Info
- CoordinateSystem
- RGeo::CoordSys::CS::HorizontalCoordinateSystem
- Defined in:
- lib/rgeo/coord_sys/cs/entities.rb
Overview
OGC spec description
A 2D coordinate system suitable for positions on the Earth’s surface.
Notes
This is a non-instantiable abstract class. You must instantiate one of the subclasses GeographicCoordinateSystem or ProjectedCoordinateSystem.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#horizontal_datum ⇒ Object
readonly
Returns the HorizontalDatum.
Attributes inherited from CoordinateSystem
Attributes inherited from Info
#abbreviation, #alias, #authority, #authority_code, #name, #remarks
Instance Method Summary collapse
-
#initialize(name, horizontal_datum, *optional) ⇒ HorizontalCoordinateSystem
constructor
:nodoc:.
Methods inherited from CoordinateSystem
create, create_from_wkt, #geographic?, #get_axis, #get_units, #projected?, #transform_coords, #wkt_typename
Methods inherited from Info
Methods inherited from Base
#encode_with, #eql?, #hash, #init_with, #inspect, #marshal_dump, #marshal_load, #to_s, #to_wkt
Constructor Details
#initialize(name, horizontal_datum, *optional) ⇒ HorizontalCoordinateSystem
:nodoc:
1247 1248 1249 1250 |
# File 'lib/rgeo/coord_sys/cs/entities.rb', line 1247 def initialize(name, horizontal_datum, *optional) # :nodoc: super(name, 2, *optional) @horizontal_datum = horizontal_datum end |
Instance Attribute Details
#horizontal_datum ⇒ Object (readonly)
Returns the HorizontalDatum.
1253 1254 1255 |
# File 'lib/rgeo/coord_sys/cs/entities.rb', line 1253 def horizontal_datum @horizontal_datum end |