00001 /********************************************************************** 00002 * 00003 * geokeys.h - Public registry for valid GEOTIFF GeoKeys. 00004 * 00005 * Written By: Niles D. Ritter 00006 * 00007 * Revision History: 00008 * 00009 * Rev.# Author M/D/Y Date Key Changes/Additions 00010 * ----- ------ ---------- ------------------------------------- 00011 * 0 ndr 06/10/95 Inital Beta Release 00012 * 1 ndr 09/18/95 Final 1.0 Release 00013 * 00014 **********************************************************************/ 00015 00016 #ifndef __geokeys_h_ 00017 #define __geokeys_h_ 00018 00019 /* The GvCurrentRevision number should be incremented whenever a 00020 * new set of Keys are defined or modified in "geokeys.inc", and comments 00021 * added to the "Revision History" section above. If only code 00022 * _values_ are augmented, the "GvCurrentMinorRev" number should 00023 * be incremented instead (see "geovalues.h"). Whenever the 00024 * GvCurrentRevision is incremented, the GvCurrentMinorRev should 00025 * be reset to zero. 00026 * 00027 * 00028 * The Section Numbers below refer to the GeoTIFF Spec sections 00029 * in which these values are documented. 00030 * 00031 */ 00032 #define GvCurrentRevision 1 /* Final 1.0 Release */ 00033 00034 #ifdef ValuePair 00035 # undef ValuePair 00036 #endif 00037 #define ValuePair(name,value) name = value, 00038 00039 typedef enum { 00040 BaseGeoKey = 1024, /* First valid code */ 00041 00042 # include "geokeys.inc" /* geokey database */ 00043 00044 ReservedEndGeoKey = 32767, 00045 00046 /* Key space available for Private or internal use */ 00047 PrivateBaseGeoKey = 32768, /* Consistent with TIFF Private tags */ 00048 PrivateEndGeoKey = 65535, 00049 00050 EndGeoKey = 65535 /* Largest Possible GeoKey ID */ 00051 } geokey_t; 00052 00053 00054 #endif /* __geokeys_h_ */