"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "geotiff.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).

geotiff.h  (libgeotiff-1.5.1):geotiff.h  (libgeotiff-1.6.0)
skipping to change at line 33 skipping to change at line 33
* of the GeoTIFF library which needs to be included in client source * of the GeoTIFF library which needs to be included in client source
* code. * code.
*/ */
/* This Version code should only change if a drastic /* This Version code should only change if a drastic
* alteration is made to the GeoTIFF key structure. Readers * alteration is made to the GeoTIFF key structure. Readers
* encountering a larger value should give up gracefully. * encountering a larger value should give up gracefully.
*/ */
#define GvCurrentVersion 1 #define GvCurrentVersion 1
#define LIBGEOTIFF_VERSION 1510 /* Versions of GeoTIFF specification and corresponding
* (version, key_revision, minor_revision) triplets.
* At that time, only 2 versions are known: */
/* GEOTIFF_SPEC_1_0 corresponds to the original GeoTIFF specification,
* "Revision 1.0, specification version 1.8.2 in November 1995 (N. Ritter & Ruth
, 1995)"
* available at http://geotiff.maptools.org/spec/geotiffhome.html */
#define GEOTIFF_SPEC_1_0_VERSION 1
#define GEOTIFF_SPEC_1_0_KEY_REVISION 1
#define GEOTIFF_SPEC_1_0_MINOR_REVISION 0
/* GEOTIFF_SPEC_1_1 corresponds to the OGC GeoTIFF standard 19-008 */
#define GEOTIFF_SPEC_1_1_VERSION 1
#define GEOTIFF_SPEC_1_1_KEY_REVISION 1
#define GEOTIFF_SPEC_1_1_MINOR_REVISION 1
/* Library version */
#define LIBGEOTIFF_VERSION 1600
#include "geo_config.h" #include "geo_config.h"
#include "geokeys.h" #include "geokeys.h"
/********************************************************************** /**********************************************************************
* Do we want to build as a DLL on windows? * Do we want to build as a DLL on windows?
**********************************************************************/ **********************************************************************/
#if !defined(GTIF_DLL) #if !defined(GTIF_DLL)
# if defined(_WIN32) && defined(BUILD_AS_DLL) # if defined(_WIN32) && defined(BUILD_AS_DLL)
# define GTIF_DLL __declspec(dllexport) # define GTIF_DLL __declspec(dllexport)
skipping to change at line 116 skipping to change at line 133
GTIF GTIF_DLL *GTIFNew(void *tif); GTIF GTIF_DLL *GTIFNew(void *tif);
GTIF GTIF_DLL *GTIFNewEx(void *tif, GTIF GTIF_DLL *GTIFNewEx(void *tif,
GTErrorCallback error_callback, void* user_data); GTErrorCallback error_callback, void* user_data);
GTIF GTIF_DLL *GTIFNewSimpleTags(void *tif); GTIF GTIF_DLL *GTIFNewSimpleTags(void *tif);
GTIF GTIF_DLL *GTIFNewWithMethods(void *tif, TIFFMethod*); GTIF GTIF_DLL *GTIFNewWithMethods(void *tif, TIFFMethod*);
GTIF GTIF_DLL *GTIFNewWithMethodsEx(void *tif, TIFFMethod* methods, GTIF GTIF_DLL *GTIFNewWithMethodsEx(void *tif, TIFFMethod* methods,
GTErrorCallback error_callback, GTErrorCallback error_callback,
void* user_data); void* user_data);
void GTIF_DLL GTIFFree(GTIF *gtif); void GTIF_DLL GTIFFree(GTIF *gtif);
int GTIF_DLL GTIFWriteKeys(GTIF *gtif); int GTIF_DLL GTIFWriteKeys(GTIF *gtif);
/* versions must be an array of 3 int */
void GTIF_DLL GTIFDirectoryInfo(GTIF *gtif, int *versions, int *keycount); void GTIF_DLL GTIFDirectoryInfo(GTIF *gtif, int *versions, int *keycount);
void GTIF_DLL *GTIFGetUserData(GTIF *gtif); void GTIF_DLL *GTIFGetUserData(GTIF *gtif);
int GTIF_DLL GTIFSetVersionNumbers(GTIF* gtif,
unsigned short version,
unsigned short key_revision,
unsigned short minor_revision);
/* GeoKey Access */ /* GeoKey Access */
int GTIF_DLL GTIFKeyInfo(GTIF *gtif, geokey_t key, int *size, tagtype_t* type) ; int GTIF_DLL GTIFKeyInfo(GTIF *gtif, geokey_t key, int *size, tagtype_t* type) ;
int GTIF_DLL GTIFKeyGet(GTIF *gtif, geokey_t key, void *val, int index, int GTIF_DLL GTIFKeyGet(GTIF *gtif, geokey_t key, void *val, int index,
int count); int count);
int GTIF_DLL GTIFKeyGetASCII(GTIF *gtif, geokey_t key, char* szStr,
int szStrMaxLen);
int GTIF_DLL GTIFKeyGetSHORT(GTIF *gtif, geokey_t key, unsigned short *val, in
t index,
int count);
int GTIF_DLL GTIFKeyGetDOUBLE(GTIF *gtif, geokey_t key, double *val, int index
,
int count);
int GTIF_DLL GTIFKeySet(GTIF *gtif, geokey_t keyID, tagtype_t type, int GTIF_DLL GTIFKeySet(GTIF *gtif, geokey_t keyID, tagtype_t type,
int count,...); int count,...);
/* Metadata Import-Export utilities */ /* Metadata Import-Export utilities */
void GTIF_DLL GTIFPrint(GTIF *gtif, GTIFPrintMethod print, void *aux); void GTIF_DLL GTIFPrint(GTIF *gtif, GTIFPrintMethod print, void *aux);
int GTIF_DLL GTIFImport(GTIF *gtif, GTIFReadMethod scan, void *aux); int GTIF_DLL GTIFImport(GTIF *gtif, GTIFReadMethod scan, void *aux);
char GTIF_DLL *GTIFKeyName(geokey_t key); char GTIF_DLL *GTIFKeyName(geokey_t key);
const char GTIF_DLL *GTIFKeyNameEx(GTIF* gtif, geokey_t key);
char GTIF_DLL *GTIFValueName(geokey_t key,int value); char GTIF_DLL *GTIFValueName(geokey_t key,int value);
const char GTIF_DLL *GTIFValueNameEx(GTIF* gtif, geokey_t key,int value); const char GTIF_DLL *GTIFValueNameEx(GTIF* gtif, geokey_t key,int value);
char GTIF_DLL *GTIFTypeName(tagtype_t type); char GTIF_DLL *GTIFTypeName(tagtype_t type);
char GTIF_DLL *GTIFTagName(int tag); char GTIF_DLL *GTIFTagName(int tag);
int GTIF_DLL GTIFKeyCode(char * key); int GTIF_DLL GTIFKeyCode(const char * key);
int GTIF_DLL GTIFValueCode(geokey_t key,char *value); int GTIF_DLL GTIFValueCode(geokey_t key,const char *value);
int GTIF_DLL GTIFTypeCode(char *type); int GTIF_DLL GTIFTypeCode(const char *type);
int GTIF_DLL GTIFTagCode(char *tag); int GTIF_DLL GTIFTagCode(const char *tag);
/* Translation between image/PCS space */ /* Translation between image/PCS space */
int GTIF_DLL GTIFImageToPCS( GTIF *gtif, double *x, double *y ); int GTIF_DLL GTIFImageToPCS( GTIF *gtif, double *x, double *y );
int GTIF_DLL GTIFPCSToImage( GTIF *gtif, double *x, double *y ); int GTIF_DLL GTIFPCSToImage( GTIF *gtif, double *x, double *y );
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
 End of changes. 7 change blocks. 
6 lines changed or deleted 38 lines changed or added

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