| Class | Proj4::ProjectionType |
| In: |
ext/projrb.c
lib/proj4.rb |
| Parent: | Proj4::Def |
The ProjectionType class holds information about projections types (‘merc’, ‘aea’, …) known to Proj.4.
Get description of this projection type as a multiline string.
/**Get description of this projection type as a multiline string.
call-seq: descr -> String
*/
static VALUE projection_type_get_descr(VALUE self){
Get ID of this projection type.
/**Get ID of this projection type.
call-seq: id -> String
*/
static VALUE projection_type_get_id(VALUE self){
Returns a projection type as string in format ’#<Proj4::PrimeMeridian id="…", name="…">’.
# File lib/proj4.rb, line 439
439: def inspect
440: "#<Proj4::ProjectionType id=\"#{id}\", name=\"#{name}\">"
441: end