23 "ossimSrtmTileSource",
26 static ossimTrace traceDebug(
"ossimSrtmTileSource:debug");
41 static const char MODULE[] =
"ossimSrtmTileSource::open";
44 CLOG <<
" Entered..." << std::endl
75 if (traceDebug())
CLOG <<
" Unable to set filename"<< std::endl;
82 CLOG <<
" Exited with " << (result?
"true":
"false") <<
" ..." 109 const char* prefix)
const 123 std::string pfx =
"";
130 std::string value = kwl.
findKey( pfx, key );
131 if ( value ==
"ossimSrtmTileSource" )
134 value = kwl.
findKey( pfx, key );
155 if(name ==
"file_type")
164 std::vector<ossimString>& propertyNames)
const 167 propertyNames.push_back(
"file_type");
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of the object to a keyword list.
ossimRefPtr< ossimImageGeometry > theGeometry
virtual bool open()
Pure virtual open.
void setProjection(ossimProjection *projection)
Sets the projection to be used for local-to-world coordinate transformation.
ossimFilename theImageFile
ossimSrtmSupportData m_SrtmSupportData
Represents serializable keyword/value map.
const std::string & findKey(const std::string &key) const
Find methods that take std::string(s).
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
virtual ossimString getShortName() const
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
virtual bool isOpen() const
Derived classes must implement this method to be concrete.
ossimRefPtr< ossimProjection > getProjection() const
Gets the projection for srtm cell.
static const char * TYPE_KW
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
virtual ossimString getLongName() const
virtual ~ossimSrtmTileSource()
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
Gets a property.
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
Adds property names to array.
virtual bool open()
Pure virtual open.
void initImageParameters(ossimImageGeometry *geom) const
Convenience method to set things needed in the image geometry from the image handler.
virtual void close()
Deletes the overview and clears the valid image vertices.
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=NULL)
Method to the load (recreate) the state of an object from a keyword list.
Container class that holds both 2D transform and 3D projection information for an image Only one inst...
virtual ossimRefPtr< ossimImageGeometry > getImageGeometry()
Returns the image geometry object associated with this tile source or NULL if not defined...
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
ossimImageMetaData theMetaData
const ossimImageMetaData & getImageMetaData() const
#define RTTI_DEF1(cls, name, b1)
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
static const char * FILENAME_KW
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
bool setFilename(const ossimFilename &srtmFile, bool scanForMinMax=false)
Initializes object from file.