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.