Module: RGeo

Defined in:
lib/rgeo.rb,
lib/rgeo/yaml.rb,
lib/rgeo/geos.rb,
lib/rgeo/geos.rb,
lib/rgeo/wkrep.rb,
lib/rgeo/error.rb,
lib/rgeo/version.rb,
lib/rgeo/feature.rb,
lib/rgeo/cartesian.rb,
lib/rgeo/coord_sys.rb,
lib/rgeo/geographic.rb,
lib/rgeo/geos/utils.rb,
lib/rgeo/impl_helper.rb,
lib/rgeo/feature/line.rb,
lib/rgeo/feature/curve.rb,
lib/rgeo/feature/point.rb,
lib/rgeo/feature/types.rb,
lib/rgeo/feature/mixins.rb,
lib/rgeo/geos/interface.rb,
lib/rgeo/feature/polygon.rb,
lib/rgeo/geos/zm_factory.rb,
lib/rgeo/coord_sys/proj4.rb,
lib/rgeo/feature/factory.rb,
lib/rgeo/feature/surface.rb,
lib/rgeo/impl_helper/math.rb,
lib/rgeo/geos/ffi_factory.rb,
lib/rgeo/feature/geometry.rb,
lib/rgeo/wkrep/wkb_parser.rb,
lib/rgeo/wkrep/wkt_parser.rb,
lib/rgeo/impl_helper/utils.rb,
lib/rgeo/cartesian/factory.rb,
lib/rgeo/geos/capi_factory.rb,
lib/rgeo/geographic/factory.rb,
lib/rgeo/cartesian/analysis.rb,
lib/rgeo/wkrep/wkt_generator.rb,
lib/rgeo/cartesian/interface.rb,
lib/rgeo/feature/multi_point.rb,
lib/rgeo/wkrep/wkb_generator.rb,
lib/rgeo/feature/linear_ring.rb,
lib/rgeo/feature/multi_curve.rb,
lib/rgeo/feature/line_string.rb,
lib/rgeo/geographic/interface.rb,
lib/rgeo/coord_sys/cs/entities.rb,
lib/rgeo/feature/multi_surface.rb,
lib/rgeo/feature/multi_polygon.rb,
lib/rgeo/coord_sys/cs/factories.rb,
lib/rgeo/cartesian/calculations.rb,
lib/rgeo/cartesian/bounding_box.rb,
lib/rgeo/geos/zm_feature_classes.rb,
lib/rgeo/coord_sys/cs/wkt_parser.rb,
lib/rgeo/geos/zm_feature_methods.rb,
lib/rgeo/geos/ffi_feature_classes.rb,
lib/rgeo/geos/ffi_feature_methods.rb,
lib/rgeo/feature/factory_generator.rb,
lib/rgeo/cartesian/feature_classes.rb,
lib/rgeo/cartesian/feature_methods.rb,
lib/rgeo/geos/capi_feature_classes.rb,
lib/rgeo/geographic/spherical_math.rb,
lib/rgeo/feature/multi_line_string.rb,
lib/rgeo/geographic/proj4_projector.rb,
lib/rgeo/feature/geometry_collection.rb,
lib/rgeo/geographic/projected_window.rb,
lib/rgeo/coord_sys/srs_database/sr_org.rb,
lib/rgeo/impl_helper/basic_point_methods.rb,
lib/rgeo/coord_sys/srs_database/interface.rb,
lib/rgeo/coord_sys/srs_database/proj4_data.rb,
lib/rgeo/coord_sys/srs_database/url_reader.rb,
lib/rgeo/impl_helper/basic_polygon_methods.rb,
lib/rgeo/impl_helper/basic_geometry_methods.rb,
lib/rgeo/geographic/projected_feature_methods.rb,
lib/rgeo/geographic/projected_feature_classes.rb,
lib/rgeo/geographic/spherical_feature_methods.rb,
lib/rgeo/geographic/simple_mercator_projector.rb,
lib/rgeo/geographic/spherical_feature_classes.rb,
lib/rgeo/impl_helper/basic_line_string_methods.rb,
lib/rgeo/coord_sys/srs_database/active_record_table.rb,
lib/rgeo/impl_helper/basic_geometry_collection_methods.rb,
ext/proj4_c_impl/main.c

Overview

:stopdoc:

Defined Under Namespace

Modules: Cartesian, CoordSys, Error, Feature, Geographic, Geos, ImplHelper, WKRep

Constant Summary collapse

PSYCH_AVAILABLE =

:stopdoc:

defined?(::Psych)
VERSION_STRING =

Current version of RGeo as a frozen string

::File.read(::File.dirname(__FILE__)+'/../../Version').strip.freeze
VERSION =

Current version of RGeo as a Versionomy object, if the Versionomy gem is available.

defined?(::Versionomy) ? ::Versionomy.parse(VERSION_STRING) : VERSION_STRING

Class Method Summary collapse

Class Method Details

.yaml_supported?Boolean

Returns true if YAML serialization and deserialization is supported. YAML support requires the Psych library/gem.

Returns:

  • (Boolean)

54
55
56
# File 'lib/rgeo/yaml.rb', line 54

def self.yaml_supported?
  PSYCH_AVAILABLE
end