"Fossies" - the Fresh Open Source Software Archive

Member "libgeotiff-1.6.0/geokeys.h" (15 Jun 2019, 1724 Bytes) of package /linux/privat/libgeotiff-1.6.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "geokeys.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 1.5.1_vs_1.6.0.

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