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