module RGeo

RGeo is a spatial data library for Ruby. It focuses on the storage and manipulation of spatial data types such as points, lines, and polygons.

RGeo comprises a number of modules. The "rgeo" gem provides a suite of standard modules. Additional optional modules are provided by separate gems with names of the form "rgeo-*".

Standard modules

These are the standard modules provided by the “rgeo” gem.

Optional Modules

Here is a partial list of optional modules available as separate gems.

Several ActiveRecord adapters use RGeo. These include:

Constants

VERSION

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

VERSION_STRING

Current version of RGeo as a frozen string

Public Class Methods

yaml_supported?() click to toggle source

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

# File lib/rgeo/yaml.rb, line 54
def self.yaml_supported?
  PSYCH_AVAILABLE
end