20 const std::string& name,
22 const std::string& projName,
23 const std::string& param1,
24 const std::string& param2,
25 const std::string& param3,
26 const std::string& param4,
29 const std::string& units,
30 const std::string& datumName)
34 theProjectionName (projName),
36 theOriginLat (param1),
37 theOriginLon (param2),
41 theFalseEasting (falseEast),
42 theFalseNorthing (falseNorth),
80 <<
"ossimStatePlaneProjectionInfo unhandled projection type: " 88 <<
"ossimStatePlaneProjectionInfo unhandled datum type: " 89 << datumName << std::endl;
106 <<
"ossimStatePlaneProjectionInfo unhandled unit type: " 302 <<
"\nproj->origin(): "<< proj->
origin()
324 const double ALLOWABLE_VARIANCE = 0.00000000000001;
335 if (d1 < ALLOWABLE_VARIANCE)
350 if ( (d1 < ALLOWABLE_VARIANCE) && (d2 < ALLOWABLE_VARIANCE) )
364 return os <<
"ossimStatePlaneProjection: " 365 <<
"\nName: " << thePlane.
name()
366 <<
"\nPcsCode: " << thePlane.
code()
367 <<
"\norigin: " << thePlane.
origin()
368 <<
"\nscale factor: " << setprecision(12)
376 return os <<
"ossimStatePlaneProjection: " 377 <<
"\nName: " << thePlane.
name()
378 <<
"\nPcsCode: " << thePlane.
code()
379 <<
"\norigin: " << thePlane.
origin()
381 << setprecision(12) << thePlane.
parallel1()
383 << setprecision(12) << thePlane.
parallel2()
double scaleFactor() const
static const char * DATUM_KW
virtual double getFalseNorthing() const
static const char * FALSE_EASTING_NORTHING_UNITS_KW
static const char * CENTRAL_MERIDIAN_KW
Represents serializable keyword/value map.
static ossimDatumFactoryRegistry * instance()
instance method
double falseEasting() const
virtual ossimString getEntryString(ossim_int32 entry_number) const
virtual const ossimString & code() const
const ossimString & projName() const
ossimString units() const
Not stored as string; hence, returned by value.
ossimString theProjectionName
virtual ossim_int32 getEntryNumber(const char *entry_string, bool case_insensitive=true) const
virtual ossimString getClassName() const
double falseNorthingInMeters() const
static const char * TYPE_KW
#define STATIC_TYPE_NAME(T)
void add(const char *prefix, const ossimKeywordlist &kwl, bool overwrite=true)
bool matchesProjection(const ossimMapProjection *proj) const
Checks parameters of projection against this.
double falseNorthing() const
bool isSameCode(int Code) const
virtual ossimGpt origin() const
ossimUnitType getUnitType() const
virtual const ossimDatum * create(const ossimString &code) const
create method
const ossimDatum * theDatum
static const char * STD_PARALLEL_1_KW
double getDegrees() const
static const char * FALSE_EASTING_NORTHING_KW
static const char * ORIGIN_LATITUDE_KW
virtual double getFalseEasting() const
static const char * PCS_CODE_KW
const ossimString & name() const
ossimString toString(ossim_uint32 precision=15) const
double falseEastingInMeters() const
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string's contents...
const ossimDatum * datum() const
ossimStatePlaneProjectionInfo(const std::string &name, int pcsCode, const std::string &projCode, const std::string ¶m1, const std::string ¶m2, const std::string ¶m3, const std::string ¶m4, double falseEast, double falseNorth, const std::string &units, const std::string &datumName)
static const char * SCALE_FACTOR_KW
std::ostream & operator<<(std::ostream &os, const ossimStatePlaneProjectionInfo &thePlane)
static const char * STD_PARALLEL_2_KW
static ossimUnitTypeLut * instance()
Returns the static instance of an ossimUnitTypeLut object.
double getScaleFactor() const
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)
std::basic_ostream< char > ostream
Base class for char output streams.
void populateProjectionKeywords(ossimKeywordlist &kwl, const char *prefix=0) const