- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

# geokeys.h

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