Config.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file Config.h
22 
23  \brief Configuration flags for the TerraLib SRS module.
24  */
25 
26 #ifndef __TERRALIB_SRS_INTERNAL_CONFIG_H
27 #define __TERRALIB_SRS_INTERNAL_CONFIG_H
28 
29 /*!
30  \def TE_SRS_MODULE_NAME
31 
32  \brief It defines the module name.
33  */
34 #define TE_SRS_MODULE_NAME "te.srs"
35 
36 /*!
37  \def TE_UNKNOWN_SRS
38 
39  \brief A numeric value to represent a unknown SRS identification in TerraLib.
40  */
41 #define TE_UNKNOWN_SRS 0
42 
43 /** @name EPSG codes
44  * Some commonly used numeric codes for Spatial Reference Systems as defined in the EPSG database.
45  *
46  */
47 //@{
48 
49 /*!\def TE_SRS_SAD69
50  Geographic coordinate reference system based on SAD69 Datum.
51  */
52 #define TE_SRS_SAD69 4618
53 
54 /*!\def TE_SRS_CORREGO_ALEGRE
55  Geographic coordinate reference system based on Brazilian Corrego Alegre Datum.
56  */
57 #define TE_SRS_CORREGO_ALEGRE 4225
58 
59 /*!
60  \def TE_SRS_WGS84
61  Geographic coordinate reference system based on WGS84 Datum.
62  */
63 #define TE_SRS_WGS84 4326
64 
65 /*!\def TE_SRS_SIRGAS2000
66  Geographic coordinate reference system based on SIRGAS 2000 Datum.
67  */
68 #define TE_SRS_SIRGAS2000 4674
69 
70 /*!\def TE_SRS_CORREGO_ALEGRE_UTM_ZONE_21S
71  Projected coordinate reference system: UTM projection, Datum Corrego Alegre Datum, Zone 21 South.
72  */
73 #define TE_SRS_CORREGO_ALEGRE_UTM_ZONE_21S 22521
74 
75 /*!\def TE_SRS_CORREGO_ALEGRE_UTM_ZONE_22S
76  Projected coordinate reference system: UTM projection, Datum Corrego Alegre Datum, Zone 22 South.
77  */
78 #define TE_SRS_CORREGO_ALEGRE_UTM_ZONE_22S 22522
79 
80 /*!\def TE_SRS_CORREGO_ALEGRE_UTM_ZONE_23S
81  Projected coordinate reference system: UTM projection, Datum Corrego Alegre Datum, Zone 23 South.
82  */
83 #define TE_SRS_CORREGO_ALEGRE_UTM_ZONE_23S 22523
84 
85 /*!\def TE_SRS_CORREGO_ALEGRE_UTM_ZONE_24S
86  Projected coordinate reference system: UTM projection, Datum Corrego Alegre Datum, Zone 24 South.
87  */
88 #define TE_SRS_CORREGO_ALEGRE_UTM_ZONE_24S 22524
89 
90 /*!\def TE_SRS_CORREGO_ALEGRE_UTM_ZONE_25S
91  Projected coordinate reference system: UTM projection, Datum Corrego Alegre Datum, Zone 25 South.
92  */
93 #define TE_SRS_CORREGO_ALEGRE_UTM_ZONE_25S 22525
94 
95 /*!\def TE_SRS_SAD69_POLYCONIC
96  Projected coordinate reference system: Brazil Polyconic, Datum SAD69.
97  */
98 #define TE_SRS_SAD69_POLYCONIC 29101
99 
100 /*!\def TE_SRS_SAD69_UTM_ZONE_18N
101  Projected coordinate reference system: UTM projection, Datum SAD69 Datum, Zone 18 North.
102  */
103 #define TE_SRS_SAD69_UTM_ZONE_18N 29168
104 
105 /*!\def TE_SRS_SAD69_UTM_ZONE_19N
106  Projected coordinate reference system: UTM projection, Datum SAD69 Datum, Zone 19 North.
107  */
108 #define TE_SRS_SAD69_UTM_ZONE_19N 29169
109 
110 /*!\def TE_SRS_SAD69_UTM_ZONE_20N
111  Projected coordinate reference system: UTM projection, Datum SAD69 Datum, Zone 20 North.
112  */
113 #define TE_SRS_SAD69_UTM_ZONE_20N 29170
114 
115 /*!\def TE_SRS_SAD69_UTM_ZONE_21N
116  Projected coordinate reference system: UTM projection, Datum SAD69 Datum, Zone 21 North.
117  */
118 #define TE_SRS_SAD69_UTM_ZONE_21N 29171
119 
120 /*!\def TE_SRS_SAD69_UTM_ZONE_22N
121  Projected coordinate reference system: UTM projection, Datum SAD69 Datum, Zone 22 North.
122  */
123 #define TE_SRS_SAD69_UTM_ZONE_22N 29172
124 
125 
126 /*!\def TE_SRS_SAD69_UTM_ZONE_17S
127  Projected coordinate reference system: UTM projection, Datum SAD69 Datum, Zone 17 South.
128  */
129 #define TE_SRS_SAD69_UTM_ZONE_17S 29187
130 
131 /*!\def TE_SRS_SAD69_UTM_ZONE_18S
132  Projected coordinate reference system: UTM projection, Datum SAD69 Datum, Zone 18 South.
133  */
134 #define TE_SRS_SAD69_UTM_ZONE_18S 29188
135 
136 /*!\def TE_SRS_SAD69_UTM_ZONE_19S
137  Projected coordinate reference system: UTM projection, Datum SAD69 Datum, Zone 19 South.
138  */
139 #define TE_SRS_SAD69_UTM_ZONE_19S 29189
140 
141 /*!\def TE_SRS_SAD69_UTM_ZONE_20S
142  Projected coordinate reference system: UTM projection, Datum SAD69 Datum, Zone 20 South.
143  */
144 #define TE_SRS_SAD69_UTM_ZONE_20S 29190
145 
146 /*!\def TE_SRS_SAD69_UTM_ZONE_21S
147  Projected coordinate reference system: UTM projection, Datum SAD69 Datum, Zone 21 South.
148  */
149 #define TE_SRS_SAD69_UTM_ZONE_21S 29191
150 
151 /*!\def TE_SRS_SAD69_UTM_ZONE_22S
152  Projected coordinate reference system: UTM projection, Datum SAD69 Datum, Zone 22 South.
153  */
154 #define TE_SRS_SAD69_UTM_ZONE_22S 29192
155 
156 /*!\def TE_SRS_SAD69_UTM_ZONE_23S
157  Projected coordinate reference system: UTM projection, Datum SAD69 Datum, Zone 23 South.
158  */
159 #define TE_SRS_SAD69_UTM_ZONE_23S 29193
160 
161 /*!\def TE_SRS_SAD69_UTM_ZONE_24S
162  Projected coordinate reference system: UTM projection, Datum SAD69 Datum, Zone 24 South.
163  */
164 #define TE_SRS_SAD69_UTM_ZONE_24S 29194
165 
166 /*!\def TE_SRS_SAD69_UTM_ZONE_25S
167  Projected coordinate reference system: UTM projection, Datum SAD69 Datum, Zone 25 South.
168  */
169 #define TE_SRS_SAD69_UTM_ZONE_25S 29195
170 
171 /*!\def TE_SRS_SIRGAS2000_UTM_ZONE_17N
172  Projected coordinate reference system: UTM projection, Datum SIRGAS2000 Datum, Zone 17 North.
173  */
174 #define TE_SRS_SIRGAS2000_UTM_ZONE_17N 31971
175 
176 /*!\def TE_SRS_SIRGAS2000_UTM_ZONE_18N
177  Projected coordinate reference system: UTM projection, Datum SIRGAS2000 Datum, Zone 18 North.
178  */
179 #define TE_SRS_SIRGAS2000_UTM_ZONE_18N 31972
180 
181 /*!\def TE_SRS_SIRGAS2000_UTM_ZONE_19N
182  Projected coordinate reference system: UTM projection, Datum SIRGAS2000 Datum, Zone 19 North.
183  */
184 #define TE_SRS_SIRGAS2000_UTM_ZONE_19N 31973
185 
186 /*!\def TE_SRS_SIRGAS2000_UTM_ZONE_20N
187  Projected coordinate reference system: UTM projection, Datum SIRGAS2000 Datum, Zone 20 North.
188  */
189 #define TE_SRS_SIRGAS2000_UTM_ZONE_20N 31974
190 
191 /*!\def TE_SRS_SIRGAS2000_UTM_ZONE_21N
192  Projected coordinate reference system: UTM projection, Datum SIRGAS2000 Datum, Zone 21 North.
193  */
194 #define TE_SRS_SIRGAS2000_UTM_ZONE_21N 31975
195 
196 /*!\def TE_SRS_SIRGAS2000_UTM_ZONE_22N
197  Projected coordinate reference system: UTM projection, Datum SIRGAS2000 Datum, Zone 22 North.
198  */
199 #define TE_SRS_SIRGAS2000_UTM_ZONE_22N 31976
200 
201 
202 /*!\def TE_SRS_SIRGAS2000_UTM_ZONE_17S
203  Projected coordinate reference system: UTM projection, Datum SIRGAS2000 Datum, Zone 17 South.
204  */
205 #define TE_SRS_SIRGAS2000_UTM_ZONE_17S 31977
206 
207 /*!\def TE_SRS_SIRGAS2000_UTM_ZONE_18S
208  Projected coordinate reference system: UTM projection, Datum SIRGAS2000 Datum, Zone 18 South.
209  */
210 #define TE_SRS_SIRGAS2000_UTM_ZONE_18S 31978
211 
212 /*!\def TE_SRS_SIRGAS2000_UTM_ZONE_19S
213  Projected coordinate reference system: UTM projection, Datum SIRGAS2000 Datum, Zone 19 South.
214  */
215 #define TE_SRS_SIRGAS2000_UTM_ZONE_19S 31979
216 
217 /*!\def TE_SRS_SIRGAS2000_UTM_ZONE_20S
218  Projected coordinate reference system: UTM projection, Datum SIRGAS2000 Datum, Zone 20 South.
219  */
220 #define TE_SRS_SIRGAS2000_UTM_ZONE_20S 31980
221 
222 /*!\def TE_SRS_SIRGAS2000_UTM_ZONE_21S
223  Projected coordinate reference system: UTM projection, Datum SIRGAS2000 Datum, Zone 21 South.
224  */
225 #define TE_SRS_SIRGAS2000_UTM_ZONE_21S 31981
226 
227 /*!\def TE_SRS_SIRGAS2000_UTM_ZONE_22S
228  Projected coordinate reference system: UTM projection, Datum SIRGAS2000 Datum, Zone 22 South.
229  */
230 #define TE_SRS_SIRGAS2000_UTM_ZONE_22S 31982
231 
232 /*!\def TE_SRS_SIRGAS2000_UTM_ZONE_23S
233  Projected coordinate reference system: UTM projection, Datum SIRGAS2000 Datum, Zone 23 South.
234  */
235 #define TE_SRS_SIRGAS2000_UTM_ZONE_23S 31983
236 
237 /*!\def TE_SRS_SIRGAS2000_UTM_ZONE_24S
238  Projected coordinate reference system: UTM projection, Datum SIRGAS2000 Datum, Zone 24 South.
239  */
240 #define TE_SRS_SIRGAS2000_UTM_ZONE_24S 31984
241 
242 /*!\def TE_SRS_SIRGAS2000_UTM_ZONE_25S
243  Projected coordinate reference system: UTM projection, Datum SIRGAS2000 Datum, Zone 25 South.
244  */
245 #define TE_SRS_SIRGAS2000_UTM_ZONE_25S 31985
246 
247 
248 /*!\def TE_SRS_WGS84_UTM_ZONE_18N
249  Projected coordinate reference system: UTM projection, Datum WGS84 Datum, Zone 18 North.
250  */
251 #define TE_SRS_WGS84_UTM_ZONE_18N 32618
252 
253 /*!\def TE_SRS_WGS84_UTM_ZONE_19N
254  Projected coordinate reference system: UTM projection, Datum WGS84 Datum, Zone 19 North.
255  */
256 #define TE_SRS_WGS84_UTM_ZONE_19N 32619
257 
258 /*!\def TE_SRS_WGS84_UTM_ZONE_20N
259  Projected coordinate reference system: UTM projection, Datum WGS84 Datum, Zone 20 North.
260  */
261 #define TE_SRS_WGS84_UTM_ZONE_20N 32620
262 
263 /*!\def TE_SRS_WGS84_UTM_ZONE_21N
264  Projected coordinate reference system: UTM projection, Datum WGS84 Datum, Zone 21 North.
265  */
266 #define TE_SRS_WGS84_UTM_ZONE_21N 32621
267 
268 /*!\def TE_SRS_WGS84_UTM_ZONE_22N
269  Projected coordinate reference system: UTM projection, Datum WGS84 Datum, Zone 22 North.
270  */
271 #define TE_SRS_WGS84_UTM_ZONE_22N 32622
272 
273 
274 /*!\def TE_SRS_WGS84_UTM_ZONE_17S
275  Projected coordinate reference system: UTM projection, Datum WGS84 Datum, Zone 17 South.
276  */
277 #define TE_SRS_WGS84_UTM_ZONE_17S 32717
278 
279 /*!\def TE_SRS_WGS84_UTM_ZONE_18S
280  Projected coordinate reference system: UTM projection, Datum WGS84 Datum, Zone 18 South.
281  */
282 #define TE_SRS_WGS84_UTM_ZONE_18S 32718
283 
284 /*!\def TE_SRS_WGS84_UTM_ZONE_19S
285  Projected coordinate reference system: UTM projection, Datum WGS84 Datum, Zone 19 South.
286  */
287 #define TE_SRS_WGS84_UTM_ZONE_19S 32719
288 
289 /*!\def TE_SRS_WGS84_UTM_ZONE_20S
290  Projected coordinate reference system: UTM projection, Datum WGS84 Datum, Zone 20 South.
291  */
292 #define TE_SRS_WGS84_UTM_ZONE_20S 32720
293 
294 /*!\def TE_SRS_WGS84_UTM_ZONE_21S
295  Projected coordinate reference system: UTM projection, Datum WGS84 Datum, Zone 21 South.
296  */
297 #define TE_SRS_WGS84_UTM_ZONE_21S 32721
298 
299 /*!\def TE_SRS_WGS84_UTM_ZONE_22S
300  Projected coordinate reference system: UTM projection, Datum WGS84 Datum, Zone 22 South.
301  */
302 #define TE_SRS_WGS84_UTM_ZONE_22S 32722
303 
304 /*!\def TE_SRS_WGS84_UTM_ZONE_23S
305  Projected coordinate reference system: UTM projection, Datum WGS84 Datum, Zone 23 South.
306  */
307 #define TE_SRS_WGS84_UTM_ZONE_23S 32723
308 
309 /*!\def TE_SRS_WGS84_UTM_ZONE_24S
310  Projected coordinate reference system: UTM projection, Datum WGS84 Datum, Zone 24 South.
311  */
312 #define TE_SRS_WGS84_UTM_ZONE_24S 32724
313 
314 /*!\def TE_SRS_WGS84_UTM_ZONE_25S
315  Projected coordinate reference system: UTM projection, Datum WGS84 Datum, Zone 25 South.
316  */
317 #define TE_SRS_WGS84_UTM_ZONE_25S 32725
318 
319 
320 /*!\def TE_SRS_WGS84_ANTARTIC_POLAR_STEREOGRAPHIC
321  Projected coordinate reference system: Antartic Polar Stereographic, Datum WGS84 Datum.
322  */
323 #define TE_SRS_WGS84_ANTARTIC_POLAR_STEREOGRAPHIC 3031
324 //@}
325 
326 /*!
327  \def TE_SRS_TEXT_DOMAIN
328 
329  \brief It contains the name of the text domain used in the translation of messages in the TerraLib srs module.
330  */
331 #define TE_SRS_TEXT_DOMAIN "tesrs"
332 
333 /** @name DLL/LIB Module
334  * Flags for building TerraLib as a DLL or as a Static Library
335  */
336 //@{
337 
338 //@}
339 
340 /*!
341  \def TESRSEXPORT
342 
343  \brief You can use this macro in order to export/import classes and functions from this module.
344 
345  \note If you want to compile TerraLib as DLL in Windows, remember to insert TESRSDLL into the project's list of defines.
346 
347  \note If you want to compile TerraLib as an Static Library under Windows, remember to insert the TESRSSTATIC flag into the project list of defines.
348  */
349 
350 #ifdef WIN32
351 
352 #ifdef _MSC_VER
353 #pragma warning( disable : 4251 )
354 #endif
355 
356 #ifdef TESRSSTATIC
357 #define TESRSEXPORT // Don't need to export/import... it is a static library
358 #elif TESRSDLL
359 #define TESRSEXPORT __declspec(dllexport) // export DLL information
360 #else
361 #define TESRSEXPORT __declspec(dllimport) // import DLL information
362 #endif
363 #else
364 #define TESRSEXPORT
365 #endif
366 
367 //@}
368 
369 #endif // __TERRALIB_SRS_INTERNAL_CONFIG_H
370