14 #ifndef ossimGeoTiff_HEADER 15 #define ossimGeoTiff_HEADER 1 50 GT_MODEL_TYPE_GEO_KEY = 1024,
51 GT_RASTER_TYPE_GEO_KEY = 1025,
52 GEOGRAPHIC_TYPE_GEO_KEY = 2048,
53 GEOG_GEODETIC_DATUM_GEO_KEY = 2050,
54 GEOG_ANGULAR_UNITS_GEO_KEY = 2054,
55 PROJECTED_CS_TYPE_GEO_KEY = 3072,
56 PCS_CITATION_GEO_KEY = 3073,
57 PROJECTION_GEO_KEY = 3074,
58 PROJ_COORD_TRANS_GEO_KEY = 3075,
59 LINEAR_UNITS_GEO_KEY = 3076,
60 PROJ_STD_PARALLEL1_GEO_KEY = 3078,
61 PROJ_STD_PARALLEL2_GEO_KEY = 3079,
62 PROJ_NAT_ORIGIN_LONG_GEO_KEY = 3080,
63 PROJ_NAT_ORIGIN_LAT_GEO_KEY = 3081,
64 PROJ_FALSE_EASTING_GEO_KEY = 3082,
65 PROJ_FALSE_NORTHING_GEO_KEY = 3083,
66 PROJ_CENTER_LONG_GEO_KEY = 3088,
67 PROJ_CENTER_LAT_GEO_KEY = 3089,
68 PROJ_SCALE_AT_NAT_ORIGIN_GEO_KEY = 3092,
71 LINEAR_FOOT_US_SURVEY = 9003,
72 ANGULAR_DEGREE = 9102,
73 ANGULAR_ARC_MINUTE = 9103,
74 ANGULAR_ARC_SECOND = 9104,
78 ANGULAR_DMS_HEMISPHERE = 9108,
79 PCS_BRITISH_NATIONAL_GRID = 27700,
103 MODEL_TYPE_PROJECTED = 1,
104 MODEL_TYPE_GEOGRAPHIC = 2,
105 MODEL_TYPE_GEOCENTRIC = 3
110 static bool writeTags(
TIFF* tiffOut,
112 bool imagineNad27Flag=
false);
130 std::vector<ossim_uint8>& buf,
159 bool readTags(std::shared_ptr<ossim::TiffHandlerState> state,
171 const char* prefix=0)
const;
182 void setOssimProjectionName();
187 void setOssimProjectionName(std::shared_ptr<ossim::TiffHandlerState> state,
ossim_int32 entryIdx=0);
198 void setOssimDatumName();
200 void setOssimDatumName(std::shared_ptr<ossim::TiffHandlerState> state,
ossim_int32 entryIdx=0);
202 void getScale(std::vector<double>& scale)
const;
203 void getTiePoint(std::vector<double>& tie_point)
const;
204 void getModelTransformation(std::vector<double>& transform)
const;
206 const std::vector<double>& getTiePoint()
const;
207 const std::vector<double>& getModelTransformation()
const;
208 const std::vector<double>& getScale()
const;
211 int getWidth()
const;
212 int getLength()
const;
234 double convert2meters(
double d)
const;
240 bool usingModelTransform()
const;
252 bool hasOneBasedTiePoints()
const;
std::vector< double > theScale
Represents serializable keyword/value map.
ossim_uint16 theAngularUnits
std::vector< double > theModelTransformation
virtual std::ostream & print(std::ostream &out) const
Outputs theErrorStatus as an ossimErrorCode and an ossimString.
ossimGeoTiff & operator=(const ossimGeoTiff &)
std::vector< double > theTiePoint
ossim_uint16 theDatumCode
static std::mutex theMutex
ossim_uint16 theBitsPerSample
unsigned short ossim_uint16
ossim_uint16 theLinearUnitsCode
ossim_uint16 theModelType
ossim_uint16 theCoorTransGeoCode
ossim_uint32 theGeoKeyOffset
ossim_uint16 theRasterType
unsigned int ossim_uint32
ossimString theAsciiParam
ossimString thePcsCitation
ossimString theHemisphere
storage class for a set of geographic tie points, between master and slave images ...
std::vector< double > theDoubleParam
bool theGeoKeysPresentFlag
std::basic_ostream< char > ostream
Base class for char output streams.
ossimString theProjectionName
ossimPrivateGtifDef * thePrivateDefinitions