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