A class that implements the Grammar Rules for well known text (WKT) format of Spatial Reference Systems. More...
#include <WKTParser.h>
Public Member Functions | |
Constructor | |
Initilizer methods. | |
| WKTParser () | |
| Default constructor. | |
Private Member Functions | |
Initializer methods. | |
Methods to initialize the grammar rules. | |
| void | initTags () |
| void | initSpatialReferenceSystems () |
| void | initDatum () |
| void | initToWGS84 () |
| void | initProjection () |
| void | initParameter () |
| void | initSpheroid () |
| void | initPrimeMeridian () |
| void | initUnits () |
| void | initQuotedNames () |
| void | initDoubleValues () |
| void | initAuthority () |
| void | initAxis () |
| void | initDelimiters () |
Private Attributes | |
Rules of WKT Grammar. | |
| qi::rule< Iterator, ascii::space_type > | srs |
| qi::rule< Iterator, ascii::space_type > | projectedCS |
| qi::rule< Iterator, ascii::space_type > | geographicCS |
| qi::rule< Iterator, ascii::space_type > | projectedCSTag |
| qi::rule< Iterator, ascii::space_type > | geographicCSTag |
| qi::rule< Iterator, ascii::space_type > | datumTag |
| qi::rule< Iterator, ascii::space_type > | spheroidTag |
| qi::rule< Iterator, ascii::space_type > | projectionTag |
| qi::rule< Iterator, ascii::space_type > | parameterTag |
| qi::rule< Iterator, ascii::space_type > | primeMeridianTag |
| qi::rule< Iterator, ascii::space_type > | unitTag |
| qi::rule< Iterator, ascii::space_type > | toWGS84Tag |
| qi::rule< Iterator, ascii::space_type > | authorityTag |
| qi::rule< Iterator, ascii::space_type > | axisTag |
| qi::rule< Iterator, ascii::space_type > | northTag |
| qi::rule< Iterator, ascii::space_type > | southTag |
| qi::rule< Iterator, ascii::space_type > | eastTag |
| qi::rule< Iterator, ascii::space_type > | westTag |
| qi::rule< Iterator, ascii::space_type > | upTag |
| qi::rule< Iterator, ascii::space_type > | downTag |
| qi::rule< Iterator, ascii::space_type > | otherTag |
| qi::rule< Iterator, ascii::space_type > | datum |
| qi::rule< Iterator, ascii::space_type > | toWGS84 |
| qi::rule< Iterator, ascii::space_type > | sevenParams |
| qi::rule< Iterator, ascii::space_type > | dx |
| qi::rule< Iterator, ascii::space_type > | dy |
| qi::rule< Iterator, ascii::space_type > | dz |
| qi::rule< Iterator, ascii::space_type > | ex |
| qi::rule< Iterator, ascii::space_type > | ey |
| qi::rule< Iterator, ascii::space_type > | ez |
| qi::rule< Iterator, ascii::space_type > | ppm |
| qi::rule< Iterator, ascii::space_type > | projection |
| qi::rule< Iterator, ascii::space_type > | parameter |
| qi::rule< Iterator, ascii::space_type > | spheroid |
| qi::rule< Iterator, ascii::space_type > | primeMeridian |
| qi::rule< Iterator, ascii::space_type > | unit |
| qi::rule< Iterator, ascii::space_type > | axis |
| qi::rule< Iterator, ascii::space_type > | axisValue |
| qi::rule< Iterator, ascii::space_type > | value |
| qi::rule< Iterator, ascii::space_type > | semiMajorAxis |
| qi::rule< Iterator, ascii::space_type > | longitude |
| qi::rule< Iterator, ascii::space_type > | invFlattening |
| qi::rule< Iterator, ascii::space_type > | conversionFactor |
| qi::rule< Iterator > | unitName |
| qi::rule< Iterator > | spheroidName |
| qi::rule< Iterator > | projectionName |
| qi::rule< Iterator > | primeMeridianName |
| qi::rule< Iterator > | parameterName |
| qi::rule< Iterator > | datumName |
| qi::rule< Iterator > | csName |
| qi::rule< Iterator > | axisName |
| qi::rule< Iterator, ascii::space_type > | authority |
| qi::rule< Iterator, ascii::space_type > | authorityCode |
| qi::rule< Iterator > | authorityName |
| qi::rule< Iterator, ascii::space_type > | leftDelimiter |
| qi::rule< Iterator, ascii::space_type > | rigthDelimiter |
Access method. | |
Method to access the SRS generated. | |
| WKTActions | m_a |
| SpatialReferenceSystem * | getSRS () |
| It returns the SRS generated by the parser process. | |
| void | reset () |
| This method resets the Parser to original state. | |
A class that implements the Grammar Rules for well known text (WKT) format of Spatial Reference Systems.
Definition at line 64 of file WKTParser.h.
|
inline |
Default constructor.
Definition at line 74 of file WKTParser.h.
References geographicCS, initAuthority(), initAxis(), initDatum(), initDelimiters(), initDoubleValues(), initParameter(), initPrimeMeridian(), initProjection(), initQuotedNames(), initSpatialReferenceSystems(), initSpheroid(), initTags(), initToWGS84(), initUnits(), projectedCS, srs, and WKTParser().
Referenced by WKTParser().
|
inline |
It returns the SRS generated by the parser process.
Definition at line 332 of file WKTParser.h.
References m_a.
|
inlineprivate |
Definition at line 288 of file WKTParser.h.
References authority, authorityCode, authorityName, authorityTag, leftDelimiter, m_a, rigthDelimiter, te::srs::WKTActions::setAuthorityCode(), and te::srs::WKTActions::setAuthorityName().
Referenced by WKTParser().
|
inlineprivate |
Definition at line 300 of file WKTParser.h.
References axis, axisName, axisTag, axisValue, downTag, eastTag, leftDelimiter, northTag, otherTag, rigthDelimiter, southTag, upTag, and westTag.
Referenced by WKTParser().
|
inlineprivate |
Definition at line 145 of file WKTParser.h.
References authority, te::srs::WKTActions::createDatum(), datum, datumName, datumTag, te::srs::WKTActions::endDatum(), leftDelimiter, m_a, rigthDelimiter, spheroid, and toWGS84.
Referenced by WKTParser().
|
inlineprivate |
Definition at line 312 of file WKTParser.h.
References leftDelimiter, and rigthDelimiter.
Referenced by WKTParser().
|
inlineprivate |
Definition at line 262 of file WKTParser.h.
References conversionFactor, invFlattening, longitude, m_a, semiMajorAxis, te::srs::WKTActions::setConversionFactor(), te::srs::WKTActions::setInverseFlattening(), te::srs::WKTActions::setParameterValue(), te::srs::WKTActions::setPrimeMeridian(), te::srs::WKTActions::setSemiMajorAxis(), and value.
Referenced by WKTParser().
|
inlineprivate |
Definition at line 186 of file WKTParser.h.
References leftDelimiter, parameter, parameterName, parameterTag, rigthDelimiter, and value.
Referenced by WKTParser().
|
inlineprivate |
Definition at line 205 of file WKTParser.h.
References authority, leftDelimiter, longitude, primeMeridian, primeMeridianName, primeMeridianTag, and rigthDelimiter.
Referenced by WKTParser().
|
inlineprivate |
Definition at line 178 of file WKTParser.h.
References authority, leftDelimiter, projection, projectionName, projectionTag, and rigthDelimiter.
Referenced by WKTParser().
|
inlineprivate |
Definition at line 223 of file WKTParser.h.
References axisName, axisValue, csName, datumName, m_a, parameterName, primeMeridianName, projectionName, te::srs::WKTActions::setAxisName(), te::srs::WKTActions::setAxisValue(), te::srs::WKTActions::setDatumName(), te::srs::WKTActions::setName(), te::srs::WKTActions::setParameter(), te::srs::WKTActions::setProjectionName(), te::srs::WKTActions::setSpheroidName(), te::srs::WKTActions::setUnitName(), spheroidName, and unitName.
Referenced by WKTParser().
|
inlineprivate |
Definition at line 126 of file WKTParser.h.
References authority, axis, te::srs::WKTActions::createGeographicCoordinateSystem(), te::srs::WKTActions::createProjectedCoordinateSystem(), csName, datum, te::srs::WKTActions::endGeographicCoordinateSystem(), te::srs::WKTActions::endProjectedCoordinateSystem(), geographicCS, geographicCSTag, leftDelimiter, m_a, parameter, primeMeridian, projectedCS, projectedCSTag, projection, rigthDelimiter, and unit.
Referenced by WKTParser().
|
inlineprivate |
Definition at line 195 of file WKTParser.h.
References authority, te::srs::WKTActions::createSpheroid(), te::srs::WKTActions::endSpheroid(), invFlattening, leftDelimiter, m_a, rigthDelimiter, semiMajorAxis, spheroid, spheroidName, and spheroidTag.
Referenced by WKTParser().
|
inlineprivate |
Definition at line 104 of file WKTParser.h.
References authorityTag, axisTag, datumTag, downTag, eastTag, geographicCSTag, northTag, otherTag, parameterTag, primeMeridianTag, projectedCSTag, projectionTag, southTag, spheroidTag, toWGS84Tag, unitTag, upTag, and westTag.
Referenced by WKTParser().
|
inlineprivate |
Definition at line 154 of file WKTParser.h.
References dx, dy, dz, te::srs::WKTActions::endToWGS84(), ex, ey, ez, leftDelimiter, m_a, ppm, rigthDelimiter, te::srs::WKTActions::setDx(), te::srs::WKTActions::setDy(), te::srs::WKTActions::setDz(), te::srs::WKTActions::setEx(), te::srs::WKTActions::setEy(), te::srs::WKTActions::setEz(), te::srs::WKTActions::setPPM(), sevenParams, toWGS84, and toWGS84Tag.
Referenced by WKTParser().
|
inlineprivate |
Definition at line 214 of file WKTParser.h.
References authority, conversionFactor, leftDelimiter, rigthDelimiter, unit, unitName, and unitTag.
Referenced by WKTParser().
|
inline |
This method resets the Parser to original state.
Definition at line 342 of file WKTParser.h.
References m_a.
|
private |
Definition at line 384 of file WKTParser.h.
Referenced by initAuthority(), initDatum(), initPrimeMeridian(), initProjection(), initSpatialReferenceSystems(), initSpheroid(), and initUnits().
|
private |
Definition at line 384 of file WKTParser.h.
Referenced by initAuthority().
|
private |
Definition at line 386 of file WKTParser.h.
Referenced by initAuthority().
|
private |
Definition at line 357 of file WKTParser.h.
Referenced by initAuthority(), and initTags().
|
private |
Definition at line 376 of file WKTParser.h.
Referenced by initAxis(), and initSpatialReferenceSystems().
|
private |
Definition at line 382 of file WKTParser.h.
Referenced by initAxis(), and initQuotedNames().
|
private |
Definition at line 357 of file WKTParser.h.
Referenced by initAxis(), and initTags().
|
private |
Definition at line 378 of file WKTParser.h.
Referenced by initAxis(), and initQuotedNames().
|
private |
Definition at line 380 of file WKTParser.h.
Referenced by initDoubleValues(), and initUnits().
|
private |
Definition at line 382 of file WKTParser.h.
Referenced by initQuotedNames(), and initSpatialReferenceSystems().
|
private |
Definition at line 360 of file WKTParser.h.
Referenced by initDatum(), and initSpatialReferenceSystems().
|
private |
Definition at line 382 of file WKTParser.h.
Referenced by initDatum(), and initQuotedNames().
|
private |
Definition at line 356 of file WKTParser.h.
Referenced by initDatum(), and initTags().
|
private |
Definition at line 358 of file WKTParser.h.
Referenced by initAxis(), and initTags().
|
private |
Definition at line 364 of file WKTParser.h.
Referenced by initToWGS84().
|
private |
Definition at line 364 of file WKTParser.h.
Referenced by initToWGS84().
|
private |
Definition at line 364 of file WKTParser.h.
Referenced by initToWGS84().
|
private |
Definition at line 357 of file WKTParser.h.
Referenced by initAxis(), and initTags().
|
private |
Definition at line 364 of file WKTParser.h.
Referenced by initToWGS84().
|
private |
Definition at line 364 of file WKTParser.h.
Referenced by initToWGS84().
|
private |
Definition at line 364 of file WKTParser.h.
Referenced by initToWGS84().
|
private |
Definition at line 354 of file WKTParser.h.
Referenced by initSpatialReferenceSystems(), and WKTParser().
|
private |
Definition at line 356 of file WKTParser.h.
Referenced by initSpatialReferenceSystems(), and initTags().
|
private |
Definition at line 380 of file WKTParser.h.
Referenced by initDoubleValues(), and initSpheroid().
|
private |
Definition at line 388 of file WKTParser.h.
Referenced by initAuthority(), initAxis(), initDatum(), initDelimiters(), initParameter(), initPrimeMeridian(), initProjection(), initSpatialReferenceSystems(), initSpheroid(), initToWGS84(), and initUnits().
|
private |
Definition at line 380 of file WKTParser.h.
Referenced by initDoubleValues(), and initPrimeMeridian().
|
private |
Definition at line 346 of file WKTParser.h.
Referenced by getSRS(), initAuthority(), initDatum(), initDoubleValues(), initQuotedNames(), initSpatialReferenceSystems(), initSpheroid(), initToWGS84(), and reset().
|
private |
Definition at line 357 of file WKTParser.h.
Referenced by initAxis(), and initTags().
|
private |
Definition at line 358 of file WKTParser.h.
Referenced by initAxis(), and initTags().
|
private |
Definition at line 368 of file WKTParser.h.
Referenced by initParameter(), and initSpatialReferenceSystems().
|
private |
Definition at line 382 of file WKTParser.h.
Referenced by initParameter(), and initQuotedNames().
|
private |
Definition at line 357 of file WKTParser.h.
Referenced by initParameter(), and initTags().
|
private |
Definition at line 364 of file WKTParser.h.
Referenced by initToWGS84().
|
private |
Definition at line 372 of file WKTParser.h.
Referenced by initPrimeMeridian(), and initSpatialReferenceSystems().
|
private |
Definition at line 382 of file WKTParser.h.
Referenced by initPrimeMeridian(), and initQuotedNames().
|
private |
Definition at line 357 of file WKTParser.h.
Referenced by initPrimeMeridian(), and initTags().
|
private |
Definition at line 354 of file WKTParser.h.
Referenced by initSpatialReferenceSystems(), and WKTParser().
|
private |
Definition at line 356 of file WKTParser.h.
Referenced by initSpatialReferenceSystems(), and initTags().
|
private |
Definition at line 366 of file WKTParser.h.
Referenced by initProjection(), and initSpatialReferenceSystems().
|
private |
Definition at line 382 of file WKTParser.h.
Referenced by initProjection(), and initQuotedNames().
|
private |
Definition at line 356 of file WKTParser.h.
Referenced by initProjection(), and initTags().
|
private |
Definition at line 388 of file WKTParser.h.
Referenced by initAuthority(), initAxis(), initDatum(), initDelimiters(), initParameter(), initPrimeMeridian(), initProjection(), initSpatialReferenceSystems(), initSpheroid(), initToWGS84(), and initUnits().
|
private |
Definition at line 380 of file WKTParser.h.
Referenced by initDoubleValues(), and initSpheroid().
|
private |
Definition at line 362 of file WKTParser.h.
Referenced by initToWGS84().
|
private |
Definition at line 357 of file WKTParser.h.
Referenced by initAxis(), and initTags().
|
private |
Definition at line 370 of file WKTParser.h.
Referenced by initDatum(), and initSpheroid().
|
private |
Definition at line 382 of file WKTParser.h.
Referenced by initQuotedNames(), and initSpheroid().
|
private |
Definition at line 356 of file WKTParser.h.
Referenced by initSpheroid(), and initTags().
|
private |
Definition at line 352 of file WKTParser.h.
Referenced by WKTParser().
|
private |
Definition at line 362 of file WKTParser.h.
Referenced by initDatum(), and initToWGS84().
|
private |
Definition at line 357 of file WKTParser.h.
Referenced by initTags(), and initToWGS84().
|
private |
Definition at line 374 of file WKTParser.h.
Referenced by initSpatialReferenceSystems(), and initUnits().
|
private |
Definition at line 382 of file WKTParser.h.
Referenced by initQuotedNames(), and initUnits().
|
private |
Definition at line 357 of file WKTParser.h.
Referenced by initTags(), and initUnits().
|
private |
Definition at line 358 of file WKTParser.h.
Referenced by initAxis(), and initTags().
|
private |
Definition at line 380 of file WKTParser.h.
Referenced by initDoubleValues(), and initParameter().
|
private |
Definition at line 358 of file WKTParser.h.
Referenced by initAxis(), and initTags().