41 static ossimTrace traceDebug(
"ossimMapProjectionInfo::debug");
47 "viewinfo.output_readme_in_us_ft_flag";
52 "viewinfo.readme_image_string";
58 theErrorStatus (false),
62 theCornerEastingNorthingPt (),
64 theCenterEastingNorthingPt (0.0, 0.0),
66 theOutputInfoInFeetFlag (false),
73 <<
"FATAL ossimMapProjectionInfo::ossimMapProjectionInfo: " 74 <<
"Null projection pointer passed to constructor!" 75 <<
"\nError status has been set. Returning..." 85 <<
"DEBUG ossimMapProjectionInfo::ossimMapProjectionInfo:\n" 86 <<
"output_rect: " << output_rect <<
"\n" 87 << *
this << std::endl;
146 const char* prefix)
const 183 os << setiosflags(ios::left)
184 << setiosflags(ios::fixed)
185 <<
"ossimMapProjectionInfo Data Members:\n" 187 << setw(30) <<
"\nOutput pixel type:" 190 << setw(30) <<
"\nMeters per pixel:" 192 << setw(30) <<
"\nUS survey feet per pixel:" 194 << setw(30) <<
"\nDecimal degrees per pixel:" 196 << setw(30) <<
"\nNumber of lines:" 198 << setw(30) <<
"\nNumber of pixels:" 200 << setw(30) <<
"\nUpper left ground point:" 202 << setw(30) <<
"\nUpper right ground point:" 204 << setw(30) <<
"\nLower right ground point:" 206 << setw(30) <<
"\nLower left ground point:" 208 << setw(30) <<
"\nUpper left easting_northing:" 210 << setw(30) <<
"\nUpper right easting_northing:" 212 << setw(30) <<
"\nLower right easting_northing:" 214 << setw(30) <<
"\nLower left easting_northing:" 216 << setw(30) <<
"\nCenter ground point:" 218 << setw(30) <<
"\nCenter easting_northing:" 220 <<
"\nMap Projection dump:";
443 int tmp = atoi(lookupReturn);
458 <<
"DEBUG ossimMapProjectionInfo::loadState:" virtual const ossimDpt & getDecimalDegreesPerPixel() const
Returns decimal degrees per pixel as an ossimDpt with "x" representing longitude and "y" representing...
ossimGpt urGroundPt() const
Returns the upper right ground point.
virtual ~ossimMapProjectionInfo()
ossim_float64 width() const
ossim_int32 linesPerImage() const
double lond() const
Will convert the radian measure to degrees.
Represents serializable keyword/value map.
ossimGpt theCenterGroundPt
ossimDpt lrEastingNorthingPtInFt() const
Returns the lower right easting and northing as a ossimDpt.
const char * find(const char *key) const
const ossimDpt & ul() const
ossimDpt getUsSurveyFeetPerPixel() const
Returns the pixel size in U.S.
ossimDpt getDecimalDegreesPerPixel() const
Returns the decimal degrees per pixel.
bool contains(char aChar) const
ossimDpt ulEastingNorthingPtInFt() const
Returns the upper left easting and northing as a ossimDpt.
virtual bool isGeographic() const
void setPixelType(ossimPixelType type)
Sets the data member "thePixelType".
const ossimMapProjection * theProjection
ossimDpt lrEastingNorthingPt() const
Returns the lower right easting and northing as a ossimDpt.
double latd() const
Will convert the radian measure to degrees.
virtual ossimGpt inverse(const ossimDpt &projectedPoint) const =0
Will take a point in meters and convert it to ground.
ossimPixelType getPixelType() const
Returns data member "thePixelType".
ossimDrect theBoundingRect
ossimDpt theCornerEastingNorthingPt[4]
bool errorStatus() const
Returns true on error false if ok.
void add(const char *prefix, const ossimKeywordlist &kwl, bool overwrite=true)
bool unitsInFeet() const
Returns the data member "theOutputInfoInFeetFlag".
void setOutputFeetFlag(bool flag)
Sets the data member "theOutputInfoInFeetFlag".
virtual ossimGpt lineSampleToWorld(const ossimDpt &projectedPoint) const
static const char * README_IMAGE_STRING_KW
static const char * TIE_POINT_XY_KW
virtual void lineSampleToEastingNorthing(const ossimDpt &liineSample, ossimDpt &eastingNorthing) const
ossimGpt lrGroundPt() const
Returns the lower right ground point.
ossimDpt centerEastingNorthingPt() const
ossimString getImageInfoString() const
Returns theImageInfoString.
virtual ossimString getProjectionName() const
Returns the projection name.
const char * chars() const
For backward compatibility.
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
ossimGpt ulGroundPt() const
Returns the upper left ground point.
ossimDpt urEastingNorthingPt() const
Returns the upper right easting and northing as a ossimDpt.
static ossimString downcase(const ossimString &aString)
ossim_int32 pixelsPerLine() const
ossim_float64 height() const
void setImageInfoString(const ossimString &string)
Used to set data member "theImageInfoString".
ossimDpt llEastingNorthingPt() const
Returns the lower left easting and northing as a ossimDpt.
const ossimMapProjection * getProjection() const
Returns reference to "theProjection".
ossimGpt theCornerGroundPt[4]
ossimDpt getMetersPerPixel() const
Returns the pixel size in meters.
void getGeom(ossimKeywordlist &kwl, const char *prefix=0) const
Adds tie point to keyword list.
ossimString theImageInfoString
"theImageInfoString" goes in the README file "Image:" field to identify the image.
ossimDpt ulEastingNorthingPt() const
Returns the upper left easting and northing as a ossimDpt.
ossimString toString(ossim_uint32 precision=15) const
void initializeMembers(const ossimDrect &output_rect)
ossimDpt llEastingNorthingPtInFt() const
Returns the lower left easting and northing as a ossimDpt.
ossimGpt centerGroundPt() const
Returns the center ground point.
static const char * PIXEL_TYPE_KW
const ossimDpt & ur() const
static const char * PIXEL_TYPE_KW
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string's contents...
ossimDpt theCenterEastingNorthingPt
bool theOutputInfoInFeetFlag
If "theOutputInfoInFeetFlag" is true the readme file tie point info will be output in both meters and...
const ossimDpt & ll() const
double mtrs2usft(double meters)
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
virtual ossimDpt getMetersPerPixel() const
std::ostream & print(std::ostream &os) const
Formatted print of data members.
ossimDpt urEastingNorthingPtInFt() const
Returns the upper right easting and northing as a ossimDpt.
static ossimUnitTypeLut * instance()
Returns the static instance of an ossimUnitTypeLut object.
const ossimDpt & lr() const
ossimPixelType thePixelType
"thePixelType" defines whether the tie point coordinates are relative to the center of the pixel(whic...
virtual std::ostream & print(std::ostream &out) const
Prints data members to stream.
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)
std::basic_ostream< char > ostream
Base class for char output streams.
static const char * TIE_POINT_UNITS_KW
ossimGpt llGroundPt() const
Returns the lower left ground point.
static const char * OUTPUT_US_FT_INFO_KW