88 if(srtmFilename ==
"")
return false;
91 ossimString regularExp1 =
"[N|S][0-9][0-9][E|W][0-9][0-9][0-9]";
92 ossimString regularExp2 =
"[E|W][0-9][0-9][0-9][N|S][0-9][0-9]";
94 bool latLonOrderFlag =
true;
95 bool foundFlag =
false;
106 latLonOrderFlag =
false;
127 f.
begin()+3).toDouble();
129 if (f[static_cast<std::string::size_type>(0)] ==
'S')
133 else if (f[static_cast<std::string::size_type>(0)] !=
'N')
143 f.
begin()+7).toDouble();
144 if (f[static_cast<std::string::size_type>(3)] ==
'W')
148 else if (f[static_cast<std::string::size_type>(3)] !=
'E')
161 f.
begin()+4).toDouble();
162 if (f[static_cast<std::string::size_type>(0)] ==
'W')
166 else if (f[static_cast<std::string::size_type>(0)] !=
'E')
175 f.
begin()+7).toDouble();
177 if (f[static_cast<std::string::size_type>(4)] ==
'S')
181 else if (f[static_cast<std::string::size_type>(4)] !=
'N')
static ossimString upcase(const ossimString &aString)
double lond() const
Will convert the radian measure to degrees.
ossimFilename theFilename
double nan()
Method to return ieee floating point double precision NAN.
double latd() const
Will convert the radian measure to degrees.
bool setFilename(const ossimFilename &srtmFilename)
std::string::size_type size() const
std::string::iterator begin()
ossim_float64 theSouthwestLongitude
void compile(const char *)
ossim_uint32 start() const
ossimSrtmFilename(const ossimFilename &srtmFilename="")
ossimFilename fileNoExtension() const
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string's contents...
ossim_float64 theSouthwestLatitude
bool isnan(const float &v)
isnan Test for floating point Not A Number (NAN) value.