Module: RGeo::Geographic::SphericalGeometryMethods
- Included in:
- SphericalGeometryCollectionImpl, SphericalLineImpl, SphericalLineStringImpl, SphericalLinearRingImpl, SphericalMultiLineStringImpl, SphericalMultiPointImpl, SphericalMultiPolygonImpl, SphericalPointImpl, SphericalPolygonImpl
- Defined in:
- lib/rgeo/geographic/spherical_feature_methods.rb
Overview
:nodoc:
Instance Method Summary collapse
- #coordinate_dimension ⇒ Object
- #is_3d? ⇒ Boolean
- #measured? ⇒ Boolean
- #spatial_dimension ⇒ Object
- #srid ⇒ Object
Instance Method Details
#coordinate_dimension ⇒ Object
16 17 18 |
# File 'lib/rgeo/geographic/spherical_feature_methods.rb', line 16 def coordinate_dimension factory.coordinate_dimension end |
#is_3d? ⇒ Boolean
24 25 26 |
# File 'lib/rgeo/geographic/spherical_feature_methods.rb', line 24 def is_3d? factory.property(:has_z_coordinate) end |
#measured? ⇒ Boolean
28 29 30 |
# File 'lib/rgeo/geographic/spherical_feature_methods.rb', line 28 def measured? factory.property(:has_m_coordinate) end |
#spatial_dimension ⇒ Object
20 21 22 |
# File 'lib/rgeo/geographic/spherical_feature_methods.rb', line 20 def spatial_dimension factory.spatial_dimension end |
#srid ⇒ Object
12 13 14 |
# File 'lib/rgeo/geographic/spherical_feature_methods.rb', line 12 def srid factory.srid end |