28 static ossimTrace traceDebug (
"ossimDtedFactory:debug");
50 <<
"DEBUG ossimDtedFactory::getNewElevSource: Entered..." 59 <<
"FATAL ossimDtedFactory::getNewElevSource: " 60 <<
"DTED directory has not been set!" 61 <<
"\nReturning null elevation source..." 69 int ilon =
static_cast<int>(floor(gpt.
lond()));
82 s1 << std::setfill(
'0') << std::setw(3)<< ilon;
84 dted_file_base += s1.str().
c_str();
85 dted_file_base +=
"/";
87 int ilat =
static_cast<int>(floor(gpt.
latd()));
90 dted_file_base +=
"s";
94 dted_file_base +=
"n";
100 s2<< std::setfill(
'0') << std::setw(2)<< ilat;
102 dted_file_base += s2.str().
c_str();
111 <<
"DEBUG ossimDtedFactory::getNewElevSource:" 112 <<
"\nSearching for file: " << dted_name
137 <<
"DEBUG ossimDtedFactory::getNewElevSource:" 138 <<
"\nSearching for file: " << dted_name
163 <<
"DEBUG ossimDtedFactory::getNewElevSource:" 164 <<
"\nSearching for file: " << dted_name
std::basic_ostringstream< char > ostringstream
Class for char output memory streams.
static const ossimFilename NIL
This was taken from Wx widgets for performing touch and access date stamps.
double lond() const
Will convert the radian measure to degrees.
double latd() const
Will convert the radian measure to degrees.
virtual bool pointHasCoverage(const ossimGpt &) const =0
METHOD: pointHasCoverage(gpt) Returns TRUE if coverage exists over gpt:
the DTED handler is an elevation source that allows for handling of a single cell of data...
ossimFilename theDirectory
virtual void createIndex()
virtual ossimErrorCode getErrorStatus() const
virtual ossimElevSource * getNewElevSource(const ossimGpt &gpt) const
Pure virtual method.
ossimFilename dirCat(const ossimFilename &file) const
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string's contents...
#define RTTI_DEF1(cls, name, b1)
virtual ~ossimDtedFactory()
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)