A Projected Coordinate System (PROJCS).  
 More...
#include <ProjectedCoordinateSystem.h>
A Projected Coordinate System (PROJCS). 
A coordinate reference system that is based on a geographic CRS and then uses a map projection to convert the coordinates to a plane. 
Definition at line 54 of file ProjectedCoordinateSystem.h.
 
◆ ProjectedCoordinateSystem()
      
        
          | te::srs::ProjectedCoordinateSystem::ProjectedCoordinateSystem  | 
          ( | 
          const std::string &  | 
          name = "",  | 
        
        
           | 
           | 
          const std::string &  | 
          unitName = "",  | 
        
        
           | 
           | 
          GeographicCoordinateSystem *  | 
          geogcs = 0,  | 
        
        
           | 
           | 
          const std::string &  | 
          projName = ""  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Constructor with parameters. 
- Parameters
 - 
  
    | name | Projected coordinate system name (default empty string).  | 
    | unitName | The name of the linear unit associated to the PROJCS (default empty string).  | 
    | geogcs | Pointer to the underlying geographic coordinate system (default null). Class takes pointer ownership.  | 
    | projName | The name of the map projection (default empty string).  | 
  
   
 
 
◆ ~ProjectedCoordinateSystem()
      
        
          | te::srs::ProjectedCoordinateSystem::~ProjectedCoordinateSystem  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ getGeographicCoordinateSystem()
Returns the underlying Geographic Coordinate Reference System. 
- Returns
 - A pointer to Geographic Coordinate Reference System. Class maintains pointer ownership. 
 
 
 
◆ getName()
  
  
      
        
          | const std::string& te::srs::SpatialReferenceSystem::getName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
 
◆ getParameters()
      
        
          | const std::map<std::string, double>& te::srs::ProjectedCoordinateSystem::getParameters  | 
          ( | 
           | ) | 
           const | 
        
      
 
Returns the list of projection parameters. 
 
 
◆ getProjection()
      
        
          | const std::string& te::srs::ProjectedCoordinateSystem::getProjection  | 
          ( | 
           | ) | 
           const | 
        
      
 
Returns the map projection name. 
 
 
◆ getSRID()
  
  
      
        
          | 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).  | 
  
   
 
 
◆ getUnitName()
  
  
      
        
          | const std::string& te::srs::SpatialReferenceSystem::getUnitName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inherited   | 
  
 
Returns the SRS unit name. 
 
 
◆ getWKT()
  
  
      
        
          | std::string te::srs::ProjectedCoordinateSystem::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.
 
 
◆ isGeographic()
  
  
      
        
          | bool te::srs::ProjectedCoordinateSystem::isGeographic  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
◆ setGeographicCoordinateSystem()
Sets the underlying Geographic Coordinate Reference System. 
- Parameters
 - 
  
    | geogcs | A pointer to Geographic Coordinate Reference System. Do not pass null. Class takes pointer ownership.  | 
  
   
 
 
◆ setName()
  
  
      
        
          | void te::srs::SpatialReferenceSystem::setName  | 
          ( | 
          const std::string &  | 
          name | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
Sets the SRS name. 
- Parameters
 - 
  
  
 
 
 
◆ setParameters()
      
        
          | void te::srs::ProjectedCoordinateSystem::setParameters  | 
          ( | 
          const std::map< std::string, double > &  | 
          params | ) | 
           | 
        
      
 
Sets the projection parameters. 
- Parameters
 - 
  
    | params | The projection parameters.  | 
  
   
 
 
◆ setProjection()
      
        
          | void te::srs::ProjectedCoordinateSystem::setProjection  | 
          ( | 
          const std::string &  | 
          projname | ) | 
           | 
        
      
 
Sets the map projection name. 
- Parameters
 - 
  
    | projname | The map projection name.  | 
  
   
 
 
◆ setSRID()
  
  
      
        
          | 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".  | 
  
   
 
 
◆ setUnitName()
  
  
      
        
          | void te::srs::SpatialReferenceSystem::setUnitName  | 
          ( | 
          const std::string &  | 
          name | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
Sets the SRS unit name. 
- Parameters
 - 
  
  
 
 
 
◆ m_geogcs
◆ m_name
  
  
      
        
          | std::string te::srs::SpatialReferenceSystem::m_name | 
         
       
   | 
  
protectedinherited   | 
  
 
 
◆ m_params
  
  
      
        
          | std::map<std::string, double> te::srs::ProjectedCoordinateSystem::m_params | 
         
       
   | 
  
private   | 
  
 
 
◆ m_projection
  
  
      
        
          | std::string te::srs::ProjectedCoordinateSystem::m_projection | 
         
       
   | 
  
private   | 
  
 
 
◆ m_srid
  
  
      
        
          | std::pair<unsigned int,std::string> te::srs::SpatialReferenceSystem::m_srid | 
         
       
   | 
  
protectedinherited   | 
  
 
 
◆ m_unitName
  
  
      
        
          | std::string te::srs::SpatialReferenceSystem::m_unitName | 
         
       
   | 
  
protectedinherited   | 
  
 
 
The documentation for this class was generated from the following file: