| Class | Proj4::Datum |
| In: |
ext/projrb.c
lib/proj4.rb |
| Parent: | Proj4::Def |
The Datum class holds information about datums (‘WGS84’, ‘potsdam’, …) known to Proj.4.
Get definition of the datum.
/**Get definition of the datum.
call-seq: defn -> String
*/
static VALUE datum_get_defn(VALUE self){
Get ID of the ellipse used by the datum.
/**Get ID of the ellipse used by the datum.
call-seq: ellipse_id -> String
*/
static VALUE datum_get_ellipse_id(VALUE self){
Get ID of the datum.
/**Get ID of the datum.
call-seq: id -> String
*/
static VALUE datum_get_id(VALUE self){
Returns datum definition as string in format ’#<Proj4::Datum id="…", ellipse_id="…", defn="…", comments="…">’.
# File lib/proj4.rb, line 403
403: def inspect
404: "#<Proj4::Datum id=\"#{id}\", ellipse_id=\"#{ellipse_id}\", defn=\"#{defn}\", comments=\"#{comments}\">"
405: end