A Geographic Coordinate System (GEOGCS).  
 More...
#include <GeographicCoordinateSystem.h>
A Geographic Coordinate System (GEOGCS). 
A Geographic Coordinate System is a coordinate system based on latitude and longitude. 
Definition at line 51 of file GeographicCoordinateSystem.h.
 
      
        
          | te::srs::GeographicCoordinateSystem::GeographicCoordinateSystem  | 
          ( | 
          const std::string &  | 
          name = "",  | 
        
        
           | 
           | 
          const std::string  | 
          unitName = "degree",  | 
        
        
           | 
           | 
          double  | 
          primem = 0.0  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor with parameters. 
- Parameters
 - 
  
    | name | The geographic coordinate system name.  | 
    | unitName | The name of the angular unit for this GEOGCS.  | 
    | primem | The meridian used to take longitude measurements from.  | 
  
   
 
 
      
        
          | te::srs::GeographicCoordinateSystem::~GeographicCoordinateSystem  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | const Datum* te::srs::GeographicCoordinateSystem::getDatum  | 
          ( | 
           | ) | 
           const | 
        
      
 
Returns the associated Datum. 
- Returns
 - A pointer to the GEOGCS datum. Class maintains the pointer ownership. 
 
 
 
  
  
      
        
          | const std::string& te::srs::SpatialReferenceSystem::getName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
 
      
        
          | double te::srs::GeographicCoordinateSystem::getPrimem  | 
          ( | 
           | ) | 
           const | 
        
      
 
Returns the meridian used to take longitude measurements from. 
 
 
  
  
      
        
          | void te::srs::SpatialReferenceSystem::getSRID  | 
          ( | 
          int &  | 
          id,  | 
         
        
           | 
           | 
          std::string &  | 
          authName  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inherited   | 
  
 
Returns SRS integer identification. 
- Parameters
 - 
  
    | id | To return the unique id (output);  | 
    | authName | To return the authority responsible for the id (output).  | 
  
   
 
 
  
  
      
        
          | const std::string& te::srs::SpatialReferenceSystem::getUnitName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
Returns the SRS unit name. 
 
 
  
  
      
        
          | std::string te::srs::GeographicCoordinateSystem::getWKT  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Returns an OGC's WKT representation for the SRS. 
The WKT definition based on document "OpenGIS Implementation Specification: Coordinate Transformation Services Revision 1.00 - pages 18 and 19. 
Implements te::srs::SpatialReferenceSystem.
 
 
  
  
      
        
          | bool te::srs::GeographicCoordinateSystem::isGeographic  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
      
        
          | void te::srs::GeographicCoordinateSystem::setDatum  | 
          ( | 
          Datum *  | 
          datum | ) | 
           | 
        
      
 
Sets the associated Datum. 
- Parameters
 - 
  
    | datum | Pointer to GEOGCS datum. Do not pass null. Class takes the pointer ownership.  | 
  
   
 
 
  
  
      
        
          | void te::srs::SpatialReferenceSystem::setName  | 
          ( | 
          const std::string &  | 
          name | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
Sets the SRS name. 
- Parameters
 - 
  
  
 
 
 
      
        
          | void te::srs::GeographicCoordinateSystem::setPrimem  | 
          ( | 
          double  | 
          primen | ) | 
           | 
        
      
 
Sets the meridian used to take longitude measurements from. 
- Parameters
 - 
  
    | primen | The meridian used to take longitude measurements from.  | 
  
   
 
 
  
  
      
        
          | void te::srs::SpatialReferenceSystem::setSRID  | 
          ( | 
          int  | 
          id,  | 
         
        
           | 
           | 
          const std::string &  | 
          authName = "EPSG"  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inherited   | 
  
 
Sets the SRS integer identification. 
Spatial reference systems can be referred to using a SRID integer, given by an authority, such as the EPSG codes defined by the International Association of Oil and Gas Producers.
- Parameters
 - 
  
    | id | The SRS integer identifier.  | 
    | authName | The authority responsible for the identifier. Default "EPSG".  | 
  
   
 
 
  
  
      
        
          | void te::srs::SpatialReferenceSystem::setUnitName  | 
          ( | 
          const std::string &  | 
          name | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
Sets the SRS unit name. 
- Parameters
 - 
  
  
 
 
 
  
  
      
        
          | Datum* te::srs::GeographicCoordinateSystem::m_datum | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | std::string te::srs::SpatialReferenceSystem::m_name | 
         
       
   | 
  
protectedinherited   | 
  
 
 
  
  
      
        
          | double te::srs::GeographicCoordinateSystem::m_primem | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | std::pair<unsigned int,std::string> te::srs::SpatialReferenceSystem::m_srid | 
         
       
   | 
  
protectedinherited   | 
  
 
 
  
  
      
        
          | std::string te::srs::SpatialReferenceSystem::m_unitName | 
         
       
   | 
  
protectedinherited   | 
  
 
 
The documentation for this class was generated from the following file: