-
Notifications
You must be signed in to change notification settings - Fork 2
/
geokeys.h
51 lines (41 loc) · 1.55 KB
/
geokeys.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**********************************************************************
*
* geokeys.h - Public registry for valid GEOTIFF GeoKeys.
*
* Written By: Niles D. Ritter
*
* copyright (c) 1995 Niles D. Ritter
*
* Permission granted to use this software, so long as this copyright
* notice accompanies any products derived therefrom.
**********************************************************************/
#ifndef __geokeys_h_
#define __geokeys_h_
/* The GvCurrentRevision number should be incremented whenever a
* new set of Keys are defined or modified in "geokeys.inc", and comments
* added to the "Revision History" section above. If only code
* _values_ are augmented, the "GvCurrentMinorRev" number should
* be incremented instead (see "geovalues.h"). Whenever the
* GvCurrentRevision is incremented, the GvCurrentMinorRev should
* be reset to zero.
*
*
* The Section Numbers below refer to the GeoTIFF Spec sections
* in which these values are documented.
*
*/
#define GvCurrentRevision 1 /* Final 1.0 Release */
#ifdef ValuePair
# undef ValuePair
#endif
#define ValuePair(name,value) name = value,
typedef enum {
BaseGeoKey = 1024, /* First valid code */
# include "geokeys.inc" /* geokey database */
ReservedEndGeoKey = 32767,
/* Key space available for Private or internal use */
PrivateBaseGeoKey = 32768, /* Consistent with TIFF Private tags */
PrivateEndGeoKey = 65535,
EndGeoKey = 65535 /* Largest Possible GeoKey ID */
} geokey_t;
#endif /* __geokeys_h_ */