OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimOgcWktTranslator.h>
Public Member Functions | |
ossimOgcWktTranslator () | |
bool | toOssimKwl (const ossimString &wktString, ossimKeywordlist &kwl, const char *prefix=NULL) const |
ossimString | fromOssimKwl (const ossimKeywordlist &kwl, const char *prefix=NULL) const |
ossimString | wktToOssimDatum (const ossimString &datum) const |
ossimString | ossimToWktDatum (const ossimString &datum) const |
ossimString | wktToOssimProjection (const ossimString &projection) const |
ossimString | ossimToWktProjection (const ossimString &projection) const |
Protected Member Functions | |
void | initializeDatumTable () |
void | initializeProjectionTable () |
Protected Attributes | |
std::map< std::string, std::string > | theWktToOssimDatumTranslation |
std::map< std::string, std::string > | theWktToOssimProjectionTranslation |
std::map< std::string, std::string > | theOssimToWktDatumTranslation |
std::map< std::string, std::string > | theOssimToWktProjectionTranslation |
Definition at line 29 of file ossimOgcWktTranslator.h.
ossimOgcWktTranslator::ossimOgcWktTranslator | ( | ) |
Definition at line 48 of file ossimOgcWktTranslator.cpp.
References initializeDatumTable(), and initializeProjectionTable().
ossimString ossimOgcWktTranslator::fromOssimKwl | ( | const ossimKeywordlist & | kwl, |
const char * | prefix = NULL |
||
) | const |
Definition at line 56 of file ossimOgcWktTranslator.cpp.
References ossimString::before(), ossimString::c_str(), ossimKeywordNames::CENTRAL_MERIDIAN_KW, ossimString::contains(), ossimKeywordNames::DATUM_KW, ossimString::empty(), EPSG_CODE_MAX, ossimKeywordNames::FALSE_EASTING_KW, ossimKeywordNames::FALSE_EASTING_NORTHING_KW, ossimKeywordNames::FALSE_EASTING_NORTHING_UNITS_KW, ossimKeywordNames::FALSE_NORTHING_KW, ossimKeywordlist::find(), ossimEpsgProjectionDatabase::findProjectionCode(), ossimEpsgProjectionDatabase::findProjectionName(), ossimUnitConversionTool::getValue(), ossimKeywordNames::HEMISPHERE_KW, ossimUnitTypeLut::instance(), ossimEpsgProjectionDatabase::instance(), ossimKeywordNames::ORIGIN_LATITUDE_KW, OSSIM_FEET, OSSIM_METERS, OSSIM_US_SURVEY_FEET, ossimNotify(), ossimNotifyLevel_WARN, ossimKeywordNames::PCS_CODE_KW, ossimKeywordNames::SCALE_FACTOR_KW, ossimUnitConversionTool::setValue(), ossimKeywordNames::STD_PARALLEL_1_KW, ossimKeywordNames::STD_PARALLEL_2_KW, ossimString::toInt(), ossimString::toLong(), ossimDpt::toPoint(), ossimString::trim(), ossimKeywordNames::TYPE_KW, ossimString::upcase(), USER_DEFINED, ossimDpt::x, ossimDpt::y, and ossimKeywordNames::ZONE_KW.
|
protected |
Definition at line 952 of file ossimOgcWktTranslator.cpp.
References theOssimToWktDatumTranslation, and theWktToOssimDatumTranslation.
Referenced by ossimOgcWktTranslator().
|
protected |
Definition at line 980 of file ossimOgcWktTranslator.cpp.
References theOssimToWktProjectionTranslation, and theWktToOssimProjectionTranslation.
Referenced by ossimOgcWktTranslator().
ossimString ossimOgcWktTranslator::ossimToWktDatum | ( | const ossimString & | datum | ) | const |
Definition at line 1047 of file ossimOgcWktTranslator.cpp.
References theOssimToWktDatumTranslation.
ossimString ossimOgcWktTranslator::ossimToWktProjection | ( | const ossimString & | projection | ) | const |
Definition at line 1070 of file ossimOgcWktTranslator.cpp.
References theOssimToWktProjectionTranslation.
bool ossimOgcWktTranslator::toOssimKwl | ( | const ossimString & | wktString, |
ossimKeywordlist & | kwl, | ||
const char * | prefix = NULL |
||
) | const |
Definition at line 547 of file ossimOgcWktTranslator.cpp.
ossimString ossimOgcWktTranslator::wktToOssimDatum | ( | const ossimString & | datum | ) | const |
Returns the empty string if the datum is not found
Definition at line 1009 of file ossimOgcWktTranslator.cpp.
References ossimString::contains().
ossimString ossimOgcWktTranslator::wktToOssimProjection | ( | const ossimString & | projection | ) | const |
Definition at line 1058 of file ossimOgcWktTranslator.cpp.
References theWktToOssimProjectionTranslation.
|
protected |
Definition at line 55 of file ossimOgcWktTranslator.h.
Referenced by initializeDatumTable(), and ossimToWktDatum().
|
protected |
Definition at line 56 of file ossimOgcWktTranslator.h.
Referenced by initializeProjectionTable(), and ossimToWktProjection().
|
protected |
Definition at line 52 of file ossimOgcWktTranslator.h.
Referenced by initializeDatumTable().
|
protected |
Definition at line 53 of file ossimOgcWktTranslator.h.
Referenced by initializeProjectionTable(), and wktToOssimProjection().