"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "geonames.h" between
libgeotiff-1.5.1.tar.gz and libgeotiff-1.6.0.tar.gz

About: libgeotiff is a library (built on top of libtiff) for reading and writing coordinate system information from and to GeoTIFF files (GeoTIFF establishes a TIFF based interchange format for georeferenced raster imagery).

geonames.h  (libgeotiff-1.5.1):geonames.h  (libgeotiff-1.6.0)
skipping to change at line 20 skipping to change at line 20
* *
* Permission granted to use this software, so long as this copyright * Permission granted to use this software, so long as this copyright
* notice accompanies any products derived therefrom. * notice accompanies any products derived therefrom.
*/ */
#ifndef LIBGEOTIFF_GEONAMES_H_ #ifndef LIBGEOTIFF_GEONAMES_H_
#define LIBGEOTIFF_GEONAMES_H_ #define LIBGEOTIFF_GEONAMES_H_
struct _KeyInfo { struct _KeyInfo {
int ki_key; int ki_key;
char *ki_name; const char *ki_name;
}; };
typedef struct _KeyInfo KeyInfo; typedef struct _KeyInfo KeyInfo;
/* If memory is a premium, then omitting the /* If memory is a premium, then omitting the
* long name lists may save some space; simply * long name lists may save some space; simply
* #define OMIT_GEOTIFF_NAMES in the compile statement * #define OMIT_GEOTIFF_NAMES in the compile statement
* to remove all key->string translation. * to remove all key->string translation.
*/ */
#ifdef ValuePair #ifdef ValuePair
# undef ValuePair # undef ValuePair
#endif #endif
#ifndef OMIT_GEOTIFF_NAMES #ifndef OMIT_GEOTIFF_NAMES
#define ValuePair(token,value) {token,#token}, #define ValuePair(token,value) {token,#token},
#else #else
#define ValuePair(token,value) #define ValuePair(token,value)
#endif #endif
#define END_LIST { -1, (char *)0} #define END_LIST { -1, 0 }
/************************************************************ /************************************************************
* 6.2.x GeoTIFF Keys * 6.2.x GeoTIFF Keys
************************************************************/ ************************************************************/
static const KeyInfo _keyInfo[] = { static const KeyInfo _keyInfo[] = {
# include "geokeys.inc" /* geokey database */ # include "geokeys.inc" /* geokey database */
END_LIST END_LIST
}; };
/* Keys used by GeoTIFF 1.1 (OGC 19-008) */
static const KeyInfo _keyInfoV11[] = {
# include "geokeys_v1_1.inc" /* geokey database */
END_LIST
};
#define COMMON_VALUES \ #define COMMON_VALUES \
{KvUndefined, "Undefined"}, \ {KvUndefined, "Undefined"}, \
{KvUserDefined,"User-Defined"}, \ {KvUserDefined,"User-Defined"}, \
ValuePair(KvUndefined,KvUndefined) \ ValuePair(KvUndefined,KvUndefined) \
ValuePair(KvUserDefined,KvUserDefined) ValuePair(KvUserDefined,KvUserDefined)
static const KeyInfo _csdefaultValue[] = { static const KeyInfo _csdefaultValue[] = {
COMMON_VALUES COMMON_VALUES
END_LIST END_LIST
}; };
 End of changes. 3 change blocks. 
2 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)