OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNitfGeoPositioningTag.h>
Public Member Functions | |
ossimNitfGeoPositioningTag () | |
virtual | ~ossimNitfGeoPositioningTag () |
virtual void | parseStream (std::istream &in) |
virtual void | writeStream (std::ostream &out) |
virtual void | clearFields () |
virtual std::ostream & | print (std::ostream &out, const std::string &prefix=std::string()) const |
Print method that outputs a key/value type format adding prefix to keys. More... | |
![]() | |
ossimNitfRegisteredTag () | |
default constructor More... | |
ossimNitfRegisteredTag (const std::string &tagName, ossim_uint32 tagLength) | |
Constructor that takes name and size. More... | |
virtual | ~ossimNitfRegisteredTag () |
destructor More... | |
virtual std::string | getRegisterTagName () const |
This will return the name of the registered tag for this user defined header. More... | |
virtual const std::string & | getTagName () const |
This will return the name of the registered tag for this user defined header. More... | |
virtual void | setTagName (const std::string &tagName) |
virtual ossim_uint32 | getSizeInBytes () const |
Returns the length in bytes of the tag from the CEL or REL field. More... | |
virtual ossim_uint32 | getTagLength () const |
Returns the length in bytes of the tag from the CEL or REL field. More... | |
virtual void | setTagLength (ossim_uint32 length) |
Set the tag length. More... | |
virtual void | parseStream (ossim::istream &in)=0 |
This will allow the user defined data to parse the stream. More... | |
virtual void | writeStream (ossim::ostream &out)=0 |
virtual void | setProperty (ossimRefPtr< ossimProperty > property) |
virtual ossimRefPtr< ossimProperty > | getProperty (const ossimString &name) const |
virtual void | getPropertyNames (std::vector< ossimString > &propertyNames) const |
virtual void | getMetadata (ossimKeywordlist &kwl, const char *prefix=0) const |
Default interface to populate keyword list with metadata. More... | |
virtual bool | saveState (ossimKeywordlist &kwl, const ossimString &prefix) const |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () const |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getDescription () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual void | accept (ossimVisitor &visitor) |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
![]() | |
ossimPropertyInterface () | |
virtual | ~ossimPropertyInterface () |
virtual void | setProperty (const ossimString &name, const ossimString &value) |
virtual ossimString | getPropertyValueAsString (const ossimString &name) const |
void | getPropertyList (std::vector< ossimRefPtr< ossimProperty > > &propertyList) const |
void | setProperties (std::vector< ossimRefPtr< ossimProperty > > &propertyList) |
Protected Attributes | |
char | theType [4] |
FIELD: TYP. More... | |
char | theCoordinateUnits [4] |
FIELD: UNI. More... | |
char | theGeodeticDatumName [81] |
FIELD: DAG. More... | |
char | theGeodeticDatumCode [5] |
FIELD: DCD. More... | |
char | theEllipsoidName [81] |
FIELD: ELL. More... | |
char | theEllipsoidCode [4] |
FIELD: ELC. More... | |
char | theVerticalDatumReference [81] |
FIELD: DVR. More... | |
char | theVerticalReferenceCode [5] |
FIELD: VDCDVR. More... | |
char | theSoundingDatumName [81] |
FIELD: SDA. More... | |
char | theSoundingDatumCode [5] |
FIELD: VDCSDA. More... | |
char | theZFalseOrigin [16] |
FIELD ZOR. More... | |
char | theGridCode [4] |
FIELD: GRD. More... | |
char | theGridDescription [81] |
FIELD: GRN. More... | |
char | theGridZoneNumber [5] |
FIELD: ZNA. More... | |
![]() | |
std::string | m_tagName |
ossim_uint32 | m_tagLength |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 21 of file ossimNitfGeoPositioningTag.h.
ossimNitfGeoPositioningTag::ossimNitfGeoPositioningTag | ( | ) |
Definition at line 22 of file ossimNitfGeoPositioningTag.cpp.
References clearFields().
|
virtual |
Definition at line 28 of file ossimNitfGeoPositioningTag.cpp.
|
virtual |
Definition at line 70 of file ossimNitfGeoPositioningTag.cpp.
References theCoordinateUnits, theEllipsoidCode, theEllipsoidName, theGeodeticDatumCode, theGeodeticDatumName, theGridCode, theGridDescription, theGridZoneNumber, theSoundingDatumCode, theSoundingDatumName, theType, theVerticalDatumReference, theVerticalReferenceCode, and theZFalseOrigin.
Referenced by ossimNitfGeoPositioningTag(), and parseStream().
|
virtual |
Definition at line 32 of file ossimNitfGeoPositioningTag.cpp.
References clearFields(), theCoordinateUnits, theEllipsoidCode, theEllipsoidName, theGeodeticDatumCode, theGeodeticDatumName, theGridCode, theGridDescription, theGridZoneNumber, theSoundingDatumCode, theSoundingDatumName, theType, theVerticalDatumReference, theVerticalReferenceCode, and theZFalseOrigin.
|
virtual |
Print method that outputs a key/value type format adding prefix to keys.
out | Stream to output to. |
prefix | Prefix added to key like "image0."; |
Reimplemented from ossimNitfRegisteredTag.
Definition at line 115 of file ossimNitfGeoPositioningTag.cpp.
References ossimNitfRegisteredTag::getTagLength(), ossimNitfRegisteredTag::getTagName(), theCoordinateUnits, theEllipsoidCode, theEllipsoidName, theGeodeticDatumCode, theGeodeticDatumName, theGridCode, theGridDescription, theGridZoneNumber, theSoundingDatumCode, theSoundingDatumName, theType, theVerticalDatumReference, theVerticalReferenceCode, and theZFalseOrigin.
|
virtual |
Definition at line 52 of file ossimNitfGeoPositioningTag.cpp.
References theCoordinateUnits, theEllipsoidCode, theEllipsoidName, theGeodeticDatumCode, theGeodeticDatumName, theGridCode, theGridDescription, theGridZoneNumber, theSoundingDatumCode, theSoundingDatumName, theType, theVerticalDatumReference, theVerticalReferenceCode, and theZFalseOrigin.
|
protected |
FIELD: UNI.
required 3 byte field.
Coordinate Units This field shall contain the units of measure to which the Image Segment refers. Valid values are SEC (Decimal seconds of arc), DEG (Decimal degrees) and M (Metres). The value must be consistent with the coordinate system type. SEC and DEG are not allowed when the coordinate system type is MAP. M is not allowed when the coordinate system type is GEO. The PRJPS extension is expected when the value is M. The default value is M.
Definition at line 76 of file ossimNitfGeoPositioningTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: ELC.
required 3 byte field.
Ellipsoid Code This field shall contain the code of the ellipsoid to which the Image Segment refers. The default value is WE.
Definition at line 127 of file ossimNitfGeoPositioningTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: ELL.
required 80 byte field.
Ellipsoid Name
This field shall contain the name of the ellipsoid to which the Image Segment refers. The default value is World Geodetic System 1984.
Definition at line 115 of file ossimNitfGeoPositioningTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: DCD.
required 4 byte field.
Geodetic Datum Code This field shall contain the code of the geodetic datum to which the Image Segment refers. The default value is WGE.
Definition at line 102 of file ossimNitfGeoPositioningTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: DAG.
required 80 byte field.
Geodetic Datum Name
This field shall contain the name of the geodetic datum to which the Image Segment refers. The default value is World Geodetic System 1984.
Definition at line 91 of file ossimNitfGeoPositioningTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: GRD.
required 3 byte field.
Grid Code This field shall contain the identification code of the grid system to which the Image Segment refers, or BCS Spaces. The default value is BCS Spaces. 3BCS-A See Part 3-6 <R>
Definition at line 200 of file ossimNitfGeoPositioningTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: GRN.
required 80 byte field.
Grid Description If the GRD Field value is not BCS Spaces, this field can contain a text description of the grid system. The default value is BCS Spaces. 80 BCS-A <R>
Definition at line 211 of file ossimNitfGeoPositioningTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: ZNA.
required 4 byte field.
Grid Zone number This field shall contain the zone number when the GRD Field contains a significant grid code and the corresponding grid system comprises more than one zone. Defaulted to 0000 otherwise. 4 BCS-N integer See Part 3-6 R
Definition at line 223 of file ossimNitfGeoPositioningTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: VDCSDA.
required 4 byte field.
Code for Sounding Datum This field shall contain the code of the sounding datum to which the Image Segment refers, or BCS Spaces if no sounding appears in the Image Segment. The default valid code is MSL. 4BCS-A See Part 3-6 <R>
Definition at line 175 of file ossimNitfGeoPositioningTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: SDA.
required 80 byte field.
Sounding Datum Name This field shall contain the name of the sounding datum to which the Image Segment refers, or BCS Spaces i f no sounding appears in the Image Segment. The default value is Mean Sea.
Definition at line 163 of file ossimNitfGeoPositioningTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: TYP.
required 3 byte field.
Coordinate System Type
This field shall contain the type of coordinate system to which the Image Segment refers. Valid values are GEO for a geographic coordinate system (longitude & latitude), MAP for a cartographic (grid) coordinate system (easting & northing) and DIG for a geographic or cartographic coordinate system registered through location grids or registration points. See clause D1.2.2 for details. The default value is MAP.
Values: MAP, GEO or DIG
Definition at line 61 of file ossimNitfGeoPositioningTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: DVR.
required 80 byte field.
Vertical Datum Reference This field shall contain the name of the vertical datum reference to which the Image Segment refers, or BCS Spaces if no elevation value appears in the Image Segment. The default name is Geodetic.
Definition at line 138 of file ossimNitfGeoPositioningTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: VDCDVR.
required 4 byte field.
Code (Category) of Vertical Reference This field shall contain the code (or category) of the vertical reference to which the Image Segment refers, or BCS Spaces if no elevation value appears in the Image Segment. The default code is GEOD.
Definition at line 151 of file ossimNitfGeoPositioningTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD ZOR.
required 15 byte field
Z values False Origin
This field shall contain the elevation and depth false origin for Z values to which the Image Segment refers. The default value is 000000000000000, which implies that there is no projection false Z origin. 15 BCS-N positive integer
Definition at line 189 of file ossimNitfGeoPositioningTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().