std::ostream& ossimNitfGeoPositioningTag::print( std::ostream& out, const std::string& prefix) const { std::string pfx = prefix; pfx += getRegisterTagName(); pfx += "."; out << setiosflags(std::ios::left) << pfx << std::setw(24) << "CETAG:" << getRegisterTagName() << "\n" << pfx << std::setw(24) << "CEL:" << getSizeInBytes() << "\n" << pfx << std::setw(24) << "TYP:" << theType << "\n" << pfx << std::setw(24) << "UNI:" << theCoordinateUnits << "\n" << pfx << std::setw(24) << "DAG:" << theGeodeticDatumName << "\n" << pfx << std::setw(24) << "DCD:" << theGeodeticDatumCode << "\n" << pfx << std::setw(24) << "ELL:" << theEllipsoidName << "\n" << pfx << std::setw(24) << "ELC:" << theEllipsoidCode << "\n" << pfx << std::setw(24) << "DVR:" << theVerticalDatumReference << "\n" << pfx << std::setw(24) << "VDCDVR:" << theVerticalReferenceCode << "\n" << pfx << std::setw(24) << "SDA:" << theSoundingDatumName << "\n" << pfx << std::setw(24) << "VDCSDA:" << theSoundingDatumCode << "\n" << pfx << std::setw(24) << "ZOR:" << theZFalseOrigin << "\n" << pfx << std::setw(24) << "GRD:" << theGridCode << "\n" << pfx << std::setw(24) << "GRN:" << theGridDescription << "\n" << pfx << std::setw(24) << "ZNA:" << theGridZoneNumber << "\n"; return out; }
std::ostream& rspfNitfProjectionParameterTag::print( std::ostream& out, const std::string& prefix) const { std::string pfx = prefix; pfx += getRegisterTagName(); pfx += "."; out << setiosflags(std::ios::left) << pfx << std::setw(24) << "CETAG:" << getRegisterTagName() << "\n" << pfx << std::setw(24) << "CEL:" << getTagLength() << "\n" << pfx << std::setw(24) << "PRN:" << theProjectionName << "\n" << pfx << std::setw(24) << "PCO:" << theProjectionCode << "\n" << pfx << std::setw(24) << "NUM_PRJ:" << theNumberOfParameters << "\n"; for (rspf_uint32 i = 0; i < theProjectionParameters.size(); ++i) { rspfString s = "PRJ"; s += rspfString::toString(i); s += ":"; out << pfx << std::setw(24) << s << theProjectionParameters[i] << "\n"; } out << pfx << std::setw(24) << "XOR:" <<theFalseXOrigin << "\n" << pfx << std::setw(24) << "YOR:" <<theFalseYOrigin << std::endl; return out; }
std::ostream& ossimNitfMstgtaTag::print( std::ostream& out, const std::string& prefix) const { std::string pfx = prefix; pfx += getRegisterTagName(); pfx += "."; out << setiosflags(std::ios::left) << pfx << std::setw(24) << "CETAG:" << getRegisterTagName() << "\n" << pfx << std::setw(24) << "CEL:" << getSizeInBytes() << "\n" << pfx << std::setw(24) << "TGT_NUM:" << theTgtNum << "\n" << pfx << std::setw(24) << "TGT_ID:" << theTgtId << "\n" << pfx << std::setw(24) << "TGT_BE:" << theTgtBe << "\n" << pfx << std::setw(24) << "TGT_PRI:" << theTgtPri << "\n" << pfx << std::setw(24) << "TGT_REQ:" << theTgtReq << "\n" << pfx << std::setw(24) << "TGT_LTIOV:" << theTgtLtiov << "\n" << pfx << std::setw(24) << "TGT_TYPE:" << theTgtType << "\n" << pfx << std::setw(24) << "TGT_COLL:" << theTgtColl << "\n" << pfx << std::setw(24) << "TGT_CAT:" << theTgtCat << "\n" << pfx << std::setw(24) << "TGT_UTC:" << theTgtUtc << "\n" << pfx << std::setw(24) << "TGT_ELEV:" << theTgtElev << "\n" << pfx << std::setw(24) << "TGT_ELEV_UNIT:" << theTgtElevUnit << "\n" << pfx << std::setw(24) << "TGT_LOC:" << theTgtLoc << "\n"; return out; }
std::ostream& ossimNitfAimidbTag::print( std::ostream& out, const std::string& prefix) const { std::string pfx = prefix; pfx += getRegisterTagName(); pfx += "."; out << setiosflags(std::ios::left) << pfx << std::setw(24) << "CETAG:" << getRegisterTagName() << "\n" << pfx << std::setw(24) << "CEL:" << getSizeInBytes() << "\n" << pfx << std::setw(24) << "ACQUISITION_DATE:" << theAcquisitionDate << "\n" << pfx << std::setw(24) << "MISSION_NO:" << theMissionNumber << "\n" << pfx << std::setw(24) << "MISSION_IDENTIFICATION:" << theMissionIdentification<< "\n" << pfx << std::setw(24) << "FLIGHT_NO:" << theFlightNo << "\n" << pfx << std::setw(24) << "OP_NUM:" << theOpNum << "\n" << pfx << std::setw(24) << "CURRENT_SEGMENT:" << theCurrentSegment << "\n" << pfx << std::setw(24) << "REPRO_NUM:" << theReproNum<< "\n" << pfx << std::setw(24) << "REPLAY:" << theReplay<< "\n" << pfx << std::setw(24) << "START_TILE_COLUMN:" << theStartTileColumn << "\n" << pfx << std::setw(24) << "START_TILE_ROW:" << theStartTileRow << "\n" << pfx << std::setw(24) << "END_SEGMENT:" << theEndSegment << "\n" << pfx << std::setw(24) << "END_TILE_COLUMN:" << theTileColumn << "\n" << pfx << std::setw(24) << "END_TILE_ROW:" << theTileRow << "\n" << pfx << std::setw(24) << "COUNTRY:" << theCountry << "\n" << pfx << std::setw(24) << "LOCATION:" << theLocation << "\n"; return out; }
std::ostream& ossimNitfCsccgaTag::print(std::ostream& out, const std::string& prefix) const { std::string pfx = prefix; pfx += getRegisterTagName(); pfx += "."; out << setiosflags(ios::left) << pfx << std::setw(24) << "CETAG:" << getRegisterTagName() << "\n" << pfx << std::setw(24) << "CEL:" << getSizeInBytes() << "\n" << pfx << std::setw(24) << "CCG_SOURCE:" << m_ccgSource << "\n" << pfx << std::setw(24) << "CCG_SOURCE:" << m_regSensor << "\n" << pfx << std::setw(24) << "ORIGIN_LINE:" << m_originLine << "\n" << pfx << std::setw(24) << "ORIGIN_SAMPLE:" << m_originSample << "\n" << pfx << std::setw(24) << "AS_CELL_SIZE:" << m_asCellSize << "\n" << pfx << std::setw(24) << "CS_CELL_SIZE:" << m_csCellSize << "\n" << pfx << std::setw(24) << "CCG_MAX_LINE:" << m_ccgMaxLine << "\n" << pfx << std::setw(24) << "CCG_MAX_SAMPLE:" << m_ccgMaxSample << "\n"; return out; }
std::ostream& ossimNitfBlockaTag::print(std::ostream& out, const std::string& prefix) const { std::string pfx = prefix; pfx += getRegisterTagName(); pfx += "."; // Grab the corners parsed into points. ossimDpt ulPt; ossimDpt urPt; ossimDpt lrPt; ossimDpt llPt; getFrfcLoc(ulPt); getFrlcLoc(urPt); getLrlcLoc(lrPt); getLrfcLoc(llPt); out << setiosflags(ios::left) << pfx << std::setw(24) << "CETAG:" << getRegisterTagName() << "\n" << pfx << std::setw(24) << "CEL:" << getSizeInBytes() << "\n" << pfx << std::setw(24) << "BLOCK_INSTANCE:" << theBlockInstance << "\n" << pfx << std::setw(24) << "N_GRAY:" << theNGray << "\n" << pfx << std::setw(24) << "L_LINES:" << theLLines << "\n" << pfx << std::setw(24) << "LAYOVER_ANGLE:" << theLayoverAngle << "\n" << pfx << std::setw(24) << "SHADOW_ANGLE:" << theShadowAngle << "\n" << pfx << std::setw(24) << "FIELD_6:" << theField6 << "\n" << pfx << std::setw(24) << "FRLC_LOC:" << theFrlcLoc << "\n" << pfx << std::setw(24) << "LRLC_LOC:" << theLrlcLoc << "\n" << pfx << std::setw(24) << "LRFC_LOC:" << theLrfcLoc << "\n" << pfx << std::setw(24) << "FRFC_LOC:" << theFrfcLoc << "\n" << pfx << std::setw(24) << "FIELD_11:" << theField11 << "\n" << pfx << std::setw(24) << "upper left:" << ulPt << "\n" << pfx << std::setw(24) << "upper right:" << urPt << "\n" << pfx << std::setw(24) << "lower right:" << lrPt << "\n" << pfx << std::setw(24) << "lower left:" << llPt << "\n"; return out; }
std::ostream& ossimNitfUnknownTag::print(std::ostream& out, const std::string& prefix) const { std::string pfx = prefix; pfx += getRegisterTagName(); pfx += "."; out << setiosflags(std::ios::left) << pfx << std::setw(24) << "CETAG:" << getRegisterTagName() << "\n" << pfx << std::setw(24) << "CEL:" << getSizeInBytes() << "\n" << pfx << std::setw(24) << "unformatted_tag_data: "; if (tagDataIsAscii()) { out << theTagData << "\n"; } else { out << "binary not displayed\n"; } return out; }
std::ostream& ossimNitfUse00aTag::print(std::ostream& out, const std::string& prefix) const { std::string pfx = prefix; pfx += getRegisterTagName(); pfx += "."; out << setiosflags(std::ios::left) << pfx << std::setw(24) << "CETAG:" << getRegisterTagName() << "\n" << pfx << std::setw(24) << "CEL:" << getSizeInBytes() << "\n" << pfx << std::setw(24) << "ANGLETONORTH:" << theAngleToNorth << "\n" << pfx << std::setw(24) << "MEANGSD:" << theMeanGsd << "\n" << pfx << std::setw(24) << "DYNAMICRANGE:" << theDynamicRange << "\n" << pfx << std::setw(24) << "OBLANG:" << theOblAng << "\n" << pfx << std::setw(24) << "ROLLANG:" << theRollAng << "\n" << pfx << std::setw(24) << "NREF:" << theNRef << "\n" << pfx << std::setw(24) << "REVNUM:" << theRevNum << "\n" << pfx << std::setw(24) << "NSEG:" << theNSeg << "\n" << pfx << std::setw(24) << "MAXLPSEG:" << theMaxLpSeg << "\n" << pfx << std::setw(24) << "SUNEL:" << theSunEl << "\n" << pfx << std::setw(24) << "SUNAZ:" << theSunAz << "\n"; return out; }
std::ostream& ossimNitfCsexraTag::print( std::ostream& out, const std::string& prefix) const { std::string pfx = prefix; pfx += getRegisterTagName(); pfx += "."; out << setiosflags(std::ios::left) << pfx << std::setw(24) << "CETAG:" << getRegisterTagName() << "\n" << pfx << std::setw(24) << "CEL:" << getSizeInBytes() << "\n" << pfx << std::setw(24) << "SENSOR:" << theSensor << "\n" << pfx << std::setw(24) << "TIME_FIRST_LINE_IMAGE:" << theTileFirstLine << "\n" << pfx << std::setw(24) << "TIME_IMAGE_DURATION:" << theImageTimeDuration << "\n" << pfx << std::setw(24) << "MAX_GSD:" << theMaxGsd << "\n" << pfx << std::setw(24) << "ALONG_SCAN_GSD:" << theAlongScanGsd << "\n" << pfx << std::setw(24) << "CROSS_SCAN_GSD:" << theCrossScanGsd << "\n" << pfx << std::setw(24) << "GEO_MEAN_GSD:" << theGeoMeanGsd << "\n" << pfx << std::setw(24) << "A_S_VERT_GSD:" << theAlongScanVertGsd << "\n" << pfx << std::setw(24) << "C_S_VERT_GSD:" << theCrossScanVertGsd << "\n" << pfx << std::setw(24) << "GEO_MEAN_VERT_GSD:" << theGeoMeanVertGsd << "\n" << pfx << std::setw(24) << "GEO_BETA_ANGLE:" << theGeoBetaAngle << "\n" << pfx << std::setw(24) << "DYNAMIC_RANGE:" << theDynamicRange << "\n" << pfx << std::setw(24) << "NUM_LINES:" << theLine << "\n" << pfx << std::setw(24) << "NUM_SAMPLES:" << theSamples << "\n" << pfx << std::setw(24) << "ANGLE_TO_NORTH:" << theAngleToNorth << "\n" << pfx << std::setw(24) << "OBLIQUITY_ANGLE:" << theObliquityAngle << "\n" << pfx << std::setw(24) << "AZ_OF_OBLIQUITY:" << theAzOfObliquity << "\n" << pfx << std::setw(24) << "GRD_COVER:" << theGrdCover << "\n" << pfx << std::setw(24) << "SNOW_DEPTH_CAT:" << theSnowDepthCategory << "\n" << pfx << std::setw(24) << "SUN_AZIMUTH:" << theSunAzimuth << "\n" << pfx << std::setw(24) << "SUN_ELEVATION:" << theSunElevation << "\n" << pfx << std::setw(24) << "PREDICTED_NIIRS:" << thePredictedNiirs << "\n" << pfx << std::setw(24) << "CIRCL_ERR:" << theCircularError << "\n" << pfx << std::setw(24) << "LINEAR_ERR:" << theLinearError<< "\n"; return out; }