26#ifndef __TERRALIB_SRS_INTERNAL_PROJECTEDCOORDINATESYSTEM_H
27#define __TERRALIB_SRS_INTERNAL_PROJECTEDCOORDINATESYSTEM_H
42 class GeographicCoordinateSystem;
67 const std::string& unitName =
"",
69 const std::string& projName =
"");
This file contains the structs necessary to represent a Spatial Reference System.
A Geographic Coordinate System (GEOGCS).
A Projected Coordinate System (PROJCS).
const std::string & getProjection() const
Returns the map projection name.
void setProjection(const std::string &projname)
Sets the map projection name.
void setGeographicCoordinateSystem(GeographicCoordinateSystem *geogcs)
Sets the underlying Geographic Coordinate Reference System.
const GeographicCoordinateSystem * getGeographicCoordinateSystem() const
Returns the underlying Geographic Coordinate Reference System.
ProjectedCoordinateSystem(const std::string &name="", const std::string &unitName="", GeographicCoordinateSystem *geogcs=0, const std::string &projName="")
Constructor with parameters.
~ProjectedCoordinateSystem()
Destructor.
std::map< std::string, double > m_params
void setParameters(const std::map< std::string, double > ¶ms)
Sets the projection parameters.
bool isGeographic() const
Returns true is a geographic coordinate system and false otherwise.
const std::map< std::string, double > & getParameters() const
Returns the list of projection parameters.
GeographicCoordinateSystem * m_geogcs
std::string getWKT() const
Returns an OGC's WKT representation for the SRS.
A Spatial Reference System, also known as a Coordinate System.
#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).