A class that implements the Grammar Rules for well known text (WKT) format for Spatial Reference Systems. More...
#include <WKTActions.h>
Public Member Functions | |
void | reset () |
This method resets the Action class to original state. More... | |
Constructor | |
Initilizer methods. | |
WKTActions () | |
Default constructor. More... | |
~WKTActions () | |
Destructor. More... | |
Actions methods. | |
Actions methods to WKT SRS parser. | |
void | createProjectedCoordinateSystem () |
void | createGeographicCoordinateSystem () |
void | createDatum () |
void | createSpheroid () |
void | setName (const std::string &name) |
void | setPrimeMeridian (const double &primem) |
void | setUnitName (const std::string &name) |
void | setConversionFactor (const double &f) |
void | setDatumName (const std::string &name) |
void | setDx (const double &dx) |
void | setDy (const double &dy) |
void | setDz (const double &dz) |
void | setEx (const double &ex) |
void | setEy (const double &ey) |
void | setEz (const double &ez) |
void | setPPM (const double &ppm) |
void | endToWGS84 () |
void | setAuthorityName (const std::string &name) |
void | setAuthorityCode (const std::string &code) |
void | setSpheroidName (const std::string &name) |
void | setSemiMajorAxis (const double &rad) |
void | setInverseFlattening (const double &invflat) |
void | setProjectionName (const std::string &name) |
void | setParameter (const std::string &name) |
void | setParameterValue (const double &value) |
void | setAxisName (const std::string &name) |
void | setAxisValue (const std::string &value) |
void | endSpheroid () |
void | endDatum () |
void | endGeographicCoordinateSystem () |
void | endProjectedCoordinateSystem () |
Access method. | |
Method to access the SRS generated. | |
SpatialReferenceSystem * | getSRS () |
It returns the SRS generated by the parser process. More... | |
Private Attributes | |
std::string | m_authorityCode |
std::string | m_authorityName |
std::map< std::string, std::string > | m_axes |
std::pair< std::string, std::string > | m_axis |
Datum * | m_datum |
Ellipsoid * | m_ellps |
GeographicCoordinateSystem * | m_geoCS |
std::pair< std::string, double > | m_parameter |
std::map< std::string, double > | m_params |
ProjectedCoordinateSystem * | m_projCS |
std::vector< double > | m_sevenParams |
SpatialReferenceSystem * | m_srs |
A class that implements the Grammar Rules for well known text (WKT) format for Spatial Reference Systems.
Definition at line 53 of file WKTActions.h.
te::srs::WKTActions::WKTActions | ( | ) |
Default constructor.
te::srs::WKTActions::~WKTActions | ( | ) |
Destructor.
void te::srs::WKTActions::createDatum | ( | ) |
Referenced by te::srs::WKTParser< Iterator >::initDatum().
void te::srs::WKTActions::createGeographicCoordinateSystem | ( | ) |
void te::srs::WKTActions::createProjectedCoordinateSystem | ( | ) |
void te::srs::WKTActions::createSpheroid | ( | ) |
Referenced by te::srs::WKTParser< Iterator >::initSpheroid().
void te::srs::WKTActions::endDatum | ( | ) |
Referenced by te::srs::WKTParser< Iterator >::initDatum().
void te::srs::WKTActions::endGeographicCoordinateSystem | ( | ) |
void te::srs::WKTActions::endProjectedCoordinateSystem | ( | ) |
void te::srs::WKTActions::endSpheroid | ( | ) |
Referenced by te::srs::WKTParser< Iterator >::initSpheroid().
void te::srs::WKTActions::endToWGS84 | ( | ) |
Referenced by te::srs::WKTParser< Iterator >::initToWGS84().
SpatialReferenceSystem* te::srs::WKTActions::getSRS | ( | ) |
It returns the SRS generated by the parser process.
Referenced by te::srs::WKTParser< Iterator >::getSRS().
void te::srs::WKTActions::reset | ( | ) |
This method resets the Action class to original state.
Referenced by te::srs::WKTParser< Iterator >::reset().
void te::srs::WKTActions::setAuthorityCode | ( | const std::string & | code | ) |
Referenced by te::srs::WKTParser< Iterator >::initAuthority().
void te::srs::WKTActions::setAuthorityName | ( | const std::string & | name | ) |
Referenced by te::srs::WKTParser< Iterator >::initAuthority().
void te::srs::WKTActions::setAxisName | ( | const std::string & | name | ) |
Referenced by te::srs::WKTParser< Iterator >::initQuotedNames().
void te::srs::WKTActions::setAxisValue | ( | const std::string & | value | ) |
Referenced by te::srs::WKTParser< Iterator >::initQuotedNames().
void te::srs::WKTActions::setConversionFactor | ( | const double & | f | ) |
Referenced by te::srs::WKTParser< Iterator >::initDoubleValues().
void te::srs::WKTActions::setDatumName | ( | const std::string & | name | ) |
Referenced by te::srs::WKTParser< Iterator >::initQuotedNames().
void te::srs::WKTActions::setDx | ( | const double & | dx | ) |
Referenced by te::srs::WKTParser< Iterator >::initToWGS84().
void te::srs::WKTActions::setDy | ( | const double & | dy | ) |
Referenced by te::srs::WKTParser< Iterator >::initToWGS84().
void te::srs::WKTActions::setDz | ( | const double & | dz | ) |
Referenced by te::srs::WKTParser< Iterator >::initToWGS84().
void te::srs::WKTActions::setEx | ( | const double & | ex | ) |
Referenced by te::srs::WKTParser< Iterator >::initToWGS84().
void te::srs::WKTActions::setEy | ( | const double & | ey | ) |
Referenced by te::srs::WKTParser< Iterator >::initToWGS84().
void te::srs::WKTActions::setEz | ( | const double & | ez | ) |
Referenced by te::srs::WKTParser< Iterator >::initToWGS84().
void te::srs::WKTActions::setInverseFlattening | ( | const double & | invflat | ) |
Referenced by te::srs::WKTParser< Iterator >::initDoubleValues().
void te::srs::WKTActions::setName | ( | const std::string & | name | ) |
Referenced by te::srs::WKTParser< Iterator >::initQuotedNames().
void te::srs::WKTActions::setParameter | ( | const std::string & | name | ) |
Referenced by te::srs::WKTParser< Iterator >::initQuotedNames().
void te::srs::WKTActions::setParameterValue | ( | const double & | value | ) |
Referenced by te::srs::WKTParser< Iterator >::initDoubleValues().
void te::srs::WKTActions::setPPM | ( | const double & | ppm | ) |
Referenced by te::srs::WKTParser< Iterator >::initToWGS84().
void te::srs::WKTActions::setPrimeMeridian | ( | const double & | primem | ) |
Referenced by te::srs::WKTParser< Iterator >::initDoubleValues().
void te::srs::WKTActions::setProjectionName | ( | const std::string & | name | ) |
Referenced by te::srs::WKTParser< Iterator >::initQuotedNames().
void te::srs::WKTActions::setSemiMajorAxis | ( | const double & | rad | ) |
Referenced by te::srs::WKTParser< Iterator >::initDoubleValues().
void te::srs::WKTActions::setSpheroidName | ( | const std::string & | name | ) |
Referenced by te::srs::WKTParser< Iterator >::initQuotedNames().
void te::srs::WKTActions::setUnitName | ( | const std::string & | name | ) |
Referenced by te::srs::WKTParser< Iterator >::initQuotedNames().
|
private |
Definition at line 161 of file WKTActions.h.
|
private |
Definition at line 160 of file WKTActions.h.
|
private |
Definition at line 158 of file WKTActions.h.
|
private |
Definition at line 157 of file WKTActions.h.
|
private |
Definition at line 149 of file WKTActions.h.
|
private |
Definition at line 150 of file WKTActions.h.
|
private |
Definition at line 147 of file WKTActions.h.
|
private |
Definition at line 154 of file WKTActions.h.
|
private |
Definition at line 155 of file WKTActions.h.
|
private |
Definition at line 146 of file WKTActions.h.
|
private |
Definition at line 152 of file WKTActions.h.
|
private |
Definition at line 144 of file WKTActions.h.