OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
src
base
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
16
#include <
ossim/base/ossimGeoTiffDatumLut.h
>
17
#include <
ossim/base/ossimString.h
>
18
19
static
const
int
TABLE_SIZE = 24;
20
21
//*******************************************************************
22
// Public Constructor:
23
//*******************************************************************
24
ossimGeoTiffDatumLut::ossimGeoTiffDatumLut
()
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
74
theTable
[14].theKey =
Datum_European_Datum_1950
;
75
theTable
[14].theValue =
"EUR-M"
;
76
77
theTable
[15].theKey =
Datum_North_American_Datum_1927
;
78
theTable
[15].theValue =
"NAS-C"
;
79
80
theTable
[16].theKey =
Datum_North_American_Datum_1983
;
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
113
ossimGeoTiffDatumLut::~ossimGeoTiffDatumLut
()
114
{
115
}
116
117
ossimKeyword
ossimGeoTiffDatumLut::getKeyword
()
const
118
{
119
return
ossimKeyword
(
"geotiff_datum_code"
,
""
);
120
}
ossimGeoTiffDatumLut::GCS_Arc_1950
Definition:
ossimGeoTiffDatumLut.h:33
ossimGeoTiffDatumLut::GCS_Tokyo
Definition:
ossimGeoTiffDatumLut.h:41
ossimLookUpTable::theTable
std::vector< ossimKeyValueMap > theTable
Definition:
ossimLookUpTable.h:124
ossimGeoTiffDatumLut::Datum_WGS84
Definition:
ossimGeoTiffDatumLut.h:63
ossimGeoTiffDatumLut::GCS_Arc_1960
Definition:
ossimGeoTiffDatumLut.h:34
ossimGeoTiffDatumLut::GCS_NAD83
Definition:
ossimGeoTiffDatumLut.h:37
ossimGeoTiffDatumLut::Datum_Adindan
Definition:
ossimGeoTiffDatumLut.h:54
ossimGeoTiffDatumLut::GCS_NAD83_HARN
Definition:
ossimGeoTiffDatumLut.h:42
ossimGeoTiffDatumLut::Datum_WGS72
Definition:
ossimGeoTiffDatumLut.h:62
ossimGeoTiffDatumLut::DatumE_WGS84
Definition:
ossimGeoTiffDatumLut.h:53
ossimGeoTiffDatumLut::ossimGeoTiffDatumLut
ossimGeoTiffDatumLut()
Definition:
ossimGeoTiffDatumLut.cpp:24
ossimGeoTiffDatumLut::GCS_ED50
Definition:
ossimGeoTiffDatumLut.h:35
ossimGeoTiffDatumLut::Datum_Tokyo
Definition:
ossimGeoTiffDatumLut.h:61
ossimGeoTiffDatumLut::Datum_European_Datum_1950
Definition:
ossimGeoTiffDatumLut.h:57
ossimGeoTiffDatumLut::Datum_North_American_Datum_1983
Definition:
ossimGeoTiffDatumLut.h:59
ossimGeoTiffDatumLut::Datum_OSGB_1936
Definition:
ossimGeoTiffDatumLut.h:60
ossimKeyword
Definition:
ossimKeyword.h:17
ossimGeoTiffDatumLut::getKeyword
virtual ossimKeyword getKeyword() const
Definition:
ossimGeoTiffDatumLut.cpp:117
ossimGeoTiffDatumLut::GCS_OSGB_1936
Definition:
ossimGeoTiffDatumLut.h:38
ossimString.h
ossimLookUpTable
Definition:
ossimLookUpTable.h:32
ossimGeoTiffDatumLut::Datum_North_American_Datum_1927
Definition:
ossimGeoTiffDatumLut.h:58
ossimGeoTiffDatumLut::GCS_WGS_84
Definition:
ossimGeoTiffDatumLut.h:40
ossimGeoTiffDatumLut::~ossimGeoTiffDatumLut
virtual ~ossimGeoTiffDatumLut()
Definition:
ossimGeoTiffDatumLut.cpp:113
ossimGeoTiffDatumLut::GCS_NAD27
Definition:
ossimGeoTiffDatumLut.h:36
ossimGeoTiffDatumLut::GCS_WGS_72
Definition:
ossimGeoTiffDatumLut.h:39
ossimGeoTiffDatumLut::Datum_NAD83_HARN
Definition:
ossimGeoTiffDatumLut.h:64
ossimGeoTiffDatumLut::Datum_Arc_1950
Definition:
ossimGeoTiffDatumLut.h:55
ossimGeoTiffDatumLut::Datum_Arc_1960
Definition:
ossimGeoTiffDatumLut.h:56
ossimGeoTiffDatumLut::GCS_Adindan
Definition:
ossimGeoTiffDatumLut.h:32
ossimGeoTiffDatumLut.h
ossimGeoTiffDatumLut::GCS_Clark_1866
Definition:
ossimGeoTiffDatumLut.h:48
Generated on Fri Aug 3 2018 08:46:48 for OSSIM - Open Source Software Image Map by
1.8.14