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