Orfeo Toolbox  3.16
otbMapProjectionDeprecated.txx
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ORFEO Toolbox
4  Language: C++
5  Date: $Date$
6  Version: $Revision$
7 
8 
9  Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
10  See OTBCopyright.txt for details.
11 
12 
13  This software is distributed WITHOUT ANY WARRANTY; without even
14  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  PURPOSE. See the above copyright notices for more information.
16 
17 =========================================================================*/
18 #ifndef __otbMapProjectionDeprecated_txx
19 #define __otbMapProjectionDeprecated_txx
20 
21 namespace otb
22 {
23 
24 template<MapProjectionType::MapProj TMapProj>
26 {
27  return "";
28 }
29 
30 template<>
31 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::ALBERS>()
32 {
33  return "Albers";
34 }
35 
36 template<>
37 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::AZIMEQUDIST>()
38 {
39  return "AzimEquDist";
40 }
41 
42 template<>
43 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::BNG>()
44 {
45  return "Bng";
46 }
47 
48 template<>
49 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::BONNE>()
50 {
51  return "Bonne";
52 }
53 
54 template<>
55 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::CADRG>()
56 {
57  return "Cadrg";
58 }
59 
60 template<>
61 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::CASSINI>()
62 {
63  return "Cassini";
64 }
65 
66 template<>
67 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::CYLEQUAREA>()
68 {
69  return "CylEquArea";
70 }
71 
72 template<>
73 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::ECKERT6>()
74 {
75  return "Eckert6";
76 }
77 
78 template<>
79 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::GNOMONIC>()
80 {
81  return "Gnomonic";
82 }
83 
84 template<>
85 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::LLXY>()
86 {
87  return "Llxy";
88 }
89 
90 template<>
91 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::EQUDISTCYL>()
92 {
93  return "EquDistCyl";
94 }
95 
96 template<>
97 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::MERCATOR>()
98 {
99  return "Mercator";
100 }
101 
102 template<>
103 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::MILLER>()
104 {
105  return "Miller";
106 }
107 
108 template<>
109 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::NEWZEALANDMAPGRID>()
110 {
111  return "NewZealandMapGrid";
112 }
113 
114 template<>
115 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::OBLIQUEMERCATOR>()
116 {
117  return "ObliqueMercator";
118 }
119 
120 template<>
121 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::ORTHOGRAPHIC>()
122 {
123  return "OrthoGraphic";
124 }
125 
126 template<>
127 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::POLARSTEREO>()
128 {
129  return "PolarStereo";
130 }
131 
132 template<>
133 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::POLYCONIC>()
134 {
135  return "Polyconic";
136 }
137 
138 template<>
139 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::SPACEOBLIQUEMERCATOR>()
140 {
141  return "SpaceObliqueMercator";
142 }
143 
144 template<>
145 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::STEREOGRAPHIC>()
146 {
147  return "Stereographic";
148 }
149 
150 template<>
151 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::TRANSCYLEQUAREA>()
152 {
153  return "TransCylEquArea";
154 }
155 
156 
157 template<>
158 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::UPS>()
159 {
160  return "Ups";
161 }
162 
163 
164 template<>
165 inline std::string GetMapProjectionDeprecatedString<MapProjectionType::VANDERGRINTEN>()
166 {
167  return "VanDerGrinten";
168 }
169 
170 
171 template <MapProjectionType::MapProj TMapProj,
175 {
176  this->SetWkt(GetMapProjectionDeprecatedString<TMapProj>());
177 }
178 
179 }
180 
181 #endif

Generated at Sun May 19 2013 00:37:11 for Orfeo Toolbox with doxygen 1.8.3.1