Module: RGeo::CoordSys

Defined in:
lib/rgeo/coord_sys.rb,
lib/rgeo/coord_sys/proj4.rb,
lib/rgeo/coord_sys/cs/entities.rb,
lib/rgeo/coord_sys/cs/factories.rb,
lib/rgeo/coord_sys/cs/wkt_parser.rb,
lib/rgeo/coord_sys/srs_database/sr_org.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/coord_sys/srs_database/active_record_table.rb,
ext/proj4_c_impl/main.c

Overview

This module provides data structures and tools related to coordinate systems and coordinate transforms. It comprises the following parts:

RGeo::CoordSys::Proj4 is a wrapper around the proj4 library, which defines a commonly-used syntax for specifying geographic and projected coordinate systems, and performs coordinate transformations.

The RGeo::CoordSys::CS module contains an implementation of the CS (coordinate systems) package of the OGC Coordinate Transform spec. This includes classes for representing ellipsoids, datums, coordinate systems, and other related concepts, as well as a parser for the WKT format for specifying coordinate systems.

The RGeo::CoordSys::SRSDatabase module contains tools for accessing spatial reference databases, from which you can look up coordinate system specifications. You can access the spatial_ref_sys table provided with OGC-compliant spatial databases such as PostGIS, read the databases provided with the proj4 library, or access URLs such as those provided by spatialreference.org.

Defined Under Namespace

Modules: CS, SRSDatabase Classes: Proj4