27 "ossimWorldFileWriter",
30 static ossimTrace traceDebug(
"ossimWorldFileWriter:debug");
46 const char* lookup = kwl.
find(prefix,
"linear_units");
50 getEntryNumber(lookup,
true);
111 out << setiosflags(ios::fixed) << setprecision(15)
125 std::vector<ossimString>& metadatatypeList)
const 127 metadatatypeList.push_back(
ossimString(
"tiff_world_file"));
128 metadatatypeList.push_back(
ossimString(
"jpeg_world_file"));
134 if ( (metadataType ==
"tiff_world_file") ||
135 (metadataType ==
"jpeg_world_file") )
155 <<
"ossimWorldFileWriter::setLinearUnits WARNING!" 156 <<
"\nUnsupported units passed to method: " 158 <<
"\nUnits unchanged..." ossimWorldFileWriter()
default constructor
virtual bool hasMetadataType(const ossimString &metadataType) const
Satisfies pure virtual from ossimMetadataWriter base.
Represents serializable keyword/value map.
virtual ~ossimWorldFileWriter()
default constructor
const char * find(const char *key) const
virtual ossimString getEntryString(ossim_int32 entry_number) const
virtual void getMetadatatypeList(std::vector< ossimString > &metadatatypeList) const
Satisfies pure virtual from ossimMetadataWriter base.
virtual bool writeFile()
Write out the file.
virtual ossimRefPtr< ossimImageGeometry > getImageGeometry()
Returns the image geometry object associated with this tile source or NULL if not defined...
void setLinearUnits(ossimUnitType units)
Sets the linear units of the output file to either feet, us_survey_feet, or meters.
const ossimProjection * getProjection() const
Access methods for projection (may be NULL pointer).
ossimUnitType getProjectionUnits() const
OSSIM considers all map projection coordinates (including false eastings and northings) to be in mete...
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string's contents...
std::basic_ofstream< char > ofstream
Class for char output file streams.
virtual const ossimDpt & getUlEastingNorthing() const
#define RTTI_DEF1(cls, name, b1)
virtual ossimDpt getMetersPerPixel() const
static ossimUnitTypeLut * instance()
Returns the static instance of an ossimUnitTypeLut object.
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Load state method: