OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimGeoTiffDatumLut.cpp
Go to the documentation of this file.
1 //*******************************************************************
2 // Copyright (C) 2000 ImageLinks Inc.
3 //
4 // License: LGPL
5 //
6 // See LICENSE.txt file in the top level directory for more details.
7 //
8 // Author: David Burken
9 //
10 // Description:
11 //
12 // Contains class definition for ossimGeoTiffDatumLut.
13 //*******************************************************************
14 // $Id: ossimGeoTiffDatumLut.cpp 16472 2010-02-01 19:52:27Z gpotts $
15 
17 #include <ossim/base/ossimString.h>
18 
19 static const int TABLE_SIZE = 24;
20 
21 //*******************************************************************
22 // Public Constructor:
23 //*******************************************************************
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 }
112 
114 {
115 }
116 
118 {
119  return ossimKeyword("geotiff_datum_code", "");
120 }
std::vector< ossimKeyValueMap > theTable
virtual ossimKeyword getKeyword() const