OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Types | Public Member Functions | List of all members
ossimGeoTiffDatumLut Class Reference

#include <ossimGeoTiffDatumLut.h>

Inheritance diagram for ossimGeoTiffDatumLut:
ossimLookUpTable

Public Types

enum  {
  GCS_Adindan = 4201, GCS_Arc_1950 = 4209, GCS_Arc_1960 = 4210, GCS_ED50 = 4230,
  GCS_NAD27 = 4267, GCS_NAD83 = 4269, GCS_OSGB_1936 = 4277, GCS_WGS_72 = 4322,
  GCS_WGS_84 = 4326, GCS_Tokyo = 4301, GCS_NAD83_HARN = 4152, GCS_Clark_1866 = 4008,
  DatumE_WGS84 = 6030, Datum_Adindan = 6201, Datum_Arc_1950 = 6209, Datum_Arc_1960 = 6210,
  Datum_European_Datum_1950 = 6230, Datum_North_American_Datum_1927 = 6267, Datum_North_American_Datum_1983 = 6269, Datum_OSGB_1936 = 6277,
  Datum_Tokyo = 6301, Datum_WGS72 = 6322, Datum_WGS84 = 6326, Datum_NAD83_HARN = 6152
}
 
- Public Types inherited from ossimLookUpTable
enum  { NOT_FOUND = -1 }
 

Public Member Functions

 ossimGeoTiffDatumLut ()
 
virtual ~ossimGeoTiffDatumLut ()
 
virtual ossimKeyword getKeyword () const
 
- Public Member Functions inherited from ossimLookUpTable
 ossimLookUpTable (const std::initializer_list< ossimString > &stringInitializer)
 By default if you just give an initializer list with strings then it will assume keys 0..n-1 for each string. More...
 
virtual ~ossimLookUpTable ()
 
virtual ossimString getEntryString (ossim_int32 entry_number) const
 
virtual ossimString getTableIndexString (ossim_uint32 table_index) const
 
virtual ossimString operator[] (ossim_int32 entry_number) const
 
virtual ossimString getEntryString (const ossimKeywordlist &kwl, const char *prefix=0) const
 
virtual ossim_int32 getEntryNumber (const char *entry_string, bool case_insensitive=true) const
 
virtual ossim_int32 getEntryNumber (const ossimKeywordlist &kwl, const char *prefix=0, bool case_insensitive=true) const
 
virtual ossim_uint32 getTableSize () const
 
void dumpValues (std::ostream &out) const
 

Additional Inherited Members

- Protected Member Functions inherited from ossimLookUpTable
 ossimLookUpTable (ossim_int32 table_size)
 
 ossimLookUpTable ()
 
- Protected Attributes inherited from ossimLookUpTable
std::vector< ossimKeyValueMaptheTable
 

Detailed Description

Definition at line 23 of file ossimGeoTiffDatumLut.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
GCS_Adindan 
GCS_Arc_1950 
GCS_Arc_1960 
GCS_ED50 
GCS_NAD27 
GCS_NAD83 
GCS_OSGB_1936 
GCS_WGS_72 
GCS_WGS_84 
GCS_Tokyo 
GCS_NAD83_HARN 
GCS_Clark_1866 
DatumE_WGS84 
Datum_Adindan 
Datum_Arc_1950 
Datum_Arc_1960 
Datum_European_Datum_1950 
Datum_North_American_Datum_1927 
Datum_North_American_Datum_1983 
Datum_OSGB_1936 
Datum_Tokyo 
Datum_WGS72 
Datum_WGS84 
Datum_NAD83_HARN 

Definition at line 27 of file ossimGeoTiffDatumLut.h.

28  {
29  //---
30  // Datum codes cut from geotiff specification section 6.3.2.1.
31  //---
32  GCS_Adindan = 4201,
33  GCS_Arc_1950 = 4209,
34  GCS_Arc_1960 = 4210,
35  GCS_ED50 = 4230,
36  GCS_NAD27 = 4267,
37  GCS_NAD83 = 4269,
38  GCS_OSGB_1936 = 4277,
39  GCS_WGS_72 = 4322,
40  GCS_WGS_84 = 4326,
41  GCS_Tokyo = 4301,
42  GCS_NAD83_HARN = 4152,
43 
44  //---
45  // Datum codes cut from geotiff specification section 6.3.2.1.
46  // NOTE: These codes imply an ellipsoid only!
47  //---
48  GCS_Clark_1866 = 4008,
49 
50  //---
51  // Datum codes cut from geotiff specification section 6.3.2.2.
52  //---
53  DatumE_WGS84 = 6030,
54  Datum_Adindan = 6201,
55  Datum_Arc_1950 = 6209,
56  Datum_Arc_1960 = 6210,
60  Datum_OSGB_1936 = 6277,
61  Datum_Tokyo = 6301,
62  Datum_WGS72 = 6322,
63  Datum_WGS84 = 6326,
64  Datum_NAD83_HARN = 6152
65  };

Constructor & Destructor Documentation

◆ ossimGeoTiffDatumLut()

ossimGeoTiffDatumLut::ossimGeoTiffDatumLut ( )

Definition at line 24 of file ossimGeoTiffDatumLut.cpp.

25  :
26  ossimLookUpTable(TABLE_SIZE)
27 {
28  //***
29  // Complete initialization of data member "theTable".
30  // Note: Scalar types defined in constants.h file.
31  //***
32  theTable[0].theKey = GCS_Adindan;
33  theTable[0].theValue = "ADI-M";
34 
35  theTable[1].theKey = GCS_Arc_1950;
36  theTable[1].theValue = "ARF-M";
37 
38  theTable[2].theKey = GCS_Arc_1960;
39  theTable[2].theValue = "ARS-M";
40 
41  theTable[3].theKey = GCS_ED50;
42  theTable[3].theValue = "EUR-M";
43 
44  theTable[4].theKey = GCS_NAD27;
45  theTable[4].theValue = "NAS-C";
46 
47  theTable[5].theKey = GCS_NAD83;
48  theTable[5].theValue = "NAR-C";
49 
50  theTable[6].theKey = GCS_OSGB_1936;
51  theTable[6].theValue = "OGB-M";
52 
53  theTable[7].theKey = GCS_WGS_72;
54  theTable[7].theValue = "WGD";
55 
56  theTable[8].theKey = GCS_WGS_84;
57  theTable[8].theValue = "WGE";
58 
59  theTable[9].theKey = GCS_Tokyo;
60  theTable[9].theValue = "TOY-M";
61 
62  theTable[10].theKey = DatumE_WGS84;
63  theTable[10].theValue = "WGE";
64 
65  theTable[11].theKey = Datum_Adindan;
66  theTable[11].theValue = "ADI-M";
67 
68  theTable[12].theKey = Datum_Arc_1950;
69  theTable[12].theValue = "ARF-M";
70 
71  theTable[13].theKey = Datum_Arc_1960;
72  theTable[13].theValue = "ARS-M";
73 
75  theTable[14].theValue = "EUR-M";
76 
78  theTable[15].theValue = "NAS-C";
79 
81  theTable[16].theValue = "NAR-C";
82 
83  theTable[17].theKey = Datum_OSGB_1936;
84  theTable[17].theValue = "OGB-M";
85 
86  theTable[18].theKey = Datum_Tokyo;
87  theTable[18].theValue = "TOY-M";
88 
89  theTable[19].theKey = Datum_WGS72;
90  theTable[19].theValue = "WGD";
91 
92  theTable[20].theKey = Datum_WGS84;
93  theTable[20].theValue = "WGE";
94 
95  theTable[21].theKey = Datum_NAD83_HARN;
96  theTable[21].theValue = "NAR";
97 
98  theTable[22].theKey = GCS_NAD83_HARN;
99  theTable[22].theValue = "NAR";
100 
101  //---
102  // Note: This code implies a Clark 1866 ellipse with no datum.
103  // NAS-C used as work around for poor tag setting out of Erdas Imagine.
104  //---
105  theTable[23].theKey = GCS_Clark_1866;
106  theTable[23].theValue = "NAS-C";
107  theTable[23].theKey = 3785;
108  theTable[23].theValue = "6055";
109  theTable[23].theKey = 900913;
110  theTable[23].theValue = "6055";
111 }
std::vector< ossimKeyValueMap > theTable

◆ ~ossimGeoTiffDatumLut()

ossimGeoTiffDatumLut::~ossimGeoTiffDatumLut ( )
virtual

Definition at line 113 of file ossimGeoTiffDatumLut.cpp.

114 {
115 }

Member Function Documentation

◆ getKeyword()

ossimKeyword ossimGeoTiffDatumLut::getKeyword ( ) const
virtual

Returns keyword for lookups from a Keywordlist.

Reimplemented from ossimLookUpTable.

Definition at line 117 of file ossimGeoTiffDatumLut.cpp.

118 {
119  return ossimKeyword("geotiff_datum_code", "");
120 }

The documentation for this class was generated from the following files: