Go to the documentation of this file.
26 #ifndef __TERRALIB_SRS_INTERNAL_SPATIALREFERENCESYSTEM_H
27 #define __TERRALIB_SRS_INTERNAL_SPATIALREFERENCESYSTEM_H
91 void setSRID(
int id,
const std::string& authName=
"EPSG");
98 void getSRID(
int&
id, std::string& authName)
const;
115 std::pair<unsigned int,std::string>
m_srid;
125 #endif //__TERRALIB_SRS_INTERNAL_SPATIALREFERENCESYSTEM_H
const std::string & getUnitName() const
Returns the SRS unit name.
void setName(const std::string &name)
Sets the SRS name.
SpatialReferenceSystem(const std::string &name="", const std::string &unitName="")
Default constructor.
virtual ~SpatialReferenceSystem()
Virtual destructor.
void setUnitName(const std::string &name)
Sets the SRS unit name.
std::pair< unsigned int, std::string > m_srid
virtual std::string getWKT() const =0
Returns an OGC's WKT representation for the SRS.
#define TESRSEXPORT
You can use this macro in order to export/import classes and functions from this module.
const std::string & getName() const
Returns the SRS name.
A Spatial Reference System, also known as a Coordinate System.
void getSRID(int &id, std::string &authName) const
Returns SRS integer identification.
virtual bool isGeographic() const =0
Returns true is a geographic coordinate system and false otherwise.
Proxy configuration file for TerraView (see terraview_config.h).
std::unique_ptr< SpatialReferenceSystem > SpatialReferenceSystemPtr
void setSRID(int id, const std::string &authName="EPSG")
Sets the SRS integer identification.