Commit b22acc45 authored by Julien Michel's avatar Julien Michel

BUG: Another attempt to fix bug #87

parent d12587d0
#include "geotiff.h"
#include <iostream>
int main(int argc,char * argv[])
{
GTIFKeyCode(argv[0]);
return 0;
}
#include "tiffio.h"
#include <iostream>
int main(int argc,char * argv[])
{
std::cout<<"TIFF version: "<<TIFFGetVersion()<<std::endl;
return 0;
}
......@@ -327,6 +327,61 @@ ENDIF (NOT GDAL_INCLUDE_DIRS)
INCLUDE_DIRECTORIES(${GDAL_INCLUDE_DIRS})
LINK_DIRECTORIES( ${GDAL_LIBRARY_DIRS} )
# Find geotiff headers
FIND_PATH(GEOTIFF_INCLUDE_DIRS geotiff.h $ENV{GDAL_INCLUDE_DIRS} /usr/include/geotiff)
IF (NOT GEOTIFF_INCLUDE_DIRS)
MESSAGE(FATAL_ERROR
"Cannot find geotiff headers. Please set GEOTIFF_INCLUDE_DIRS.")
ENDIF (NOT GEOTIFF_INCLUDE_DIRS)
INCLUDE_DIRECTORIES(${GEOTIFF_INCLUDE_DIRS})
# Find tiff headers
FIND_PATH(TIFF_INCLUDE_DIRS tiffio.h $ENV{GDAL_INCLUDE_DIRS} /usr/include)
IF (NOT TIFF_INCLUDE_DIRS)
MESSAGE(FATAL_ERROR
"Cannot find libtiff headers. Please set TIFF_INCLUDE_DIRS.")
ENDIF (NOT TIFF_INCLUDE_DIRS)
INCLUDE_DIRECTORIES(${TIFF_INCLUDE_DIRS})
# Check if gdal has tiff library
SET(GDAL_HAS_TIFF 0)
TRY_COMPILE(GDAL_HAS_TIFF
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/CMake/TestGDALHasTiff.cxx
CMAKE_FLAGS "-DINCLUDE_DIRECTORIES:PATH=${TIFF_INCLUDE_DIRS};${GDAL_INCLUDE_DIRS}" "-DLINK_DIRECTORIES:PATH=${GDAL_LIBRARY_DIRS}" "-DLINK_LIBRARIES:STRING=gdal"
OUTPUT_VARIABLE OUTPUT)
IF(GDAL_HAS_TIFF)
MESSAGE("-- Testing if GDAL has tiff -- yes.")
SET(TIFF_LIBRARY gdal)
ELSE(GDAL_HAS_TIFF)
MESSAGE("-- Testing if GDAL has tiff -- no.")
FIND_LIBRARY(TIFF_LIBRARY tiff PATHS)
IF (NOT TIFF_LIBRARY)
MESSAGE(FATAL_ERROR
"Cannot find tiff library. Please set TIFF_LIBRARY.")
ENDIF (NOT TIFF_LIBRARY)
ENDIF(GDAL_HAS_TIFF)
# Check if gdal has geotiff library
SET(GDAL_HAS_GEOTIFF 0)
TRY_COMPILE(GDAL_HAS_GEOTIFF
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/CMake/TestGDALHasGeoTiff.cxx
CMAKE_FLAGS "-DINCLUDE_DIRECTORIES:PATH=${GEOTIFF_INCLUDE_DIRS};${GDAL_INCLUDE_DIRS}" "-DLINK_DIRECTORIES:PATH=${GDAL_LIBRARY_DIRS}" "-DLINK_LIBRARIES:STRING=gdal"
OUTPUT_VARIABLE OUTPUT)
IF(GDAL_HAS_GEOTIFF)
MESSAGE("-- Testing if GDAL has geotiff -- yes.")
SET(GEOTIFF_LIBRARY gdal)
ELSE(GDAL_HAS_GEOTIFF)
MESSAGE("-- Testing if GDAL has geotiff -- no.")
FIND_LIBRARY(GEOTIFF_LIBRARY geotiff PATHS)
IF (NOT GEOTIFF_LIBRARY)
MESSAGE(FATAL_ERROR
"Cannot find geotiff library. Please set LIBGEOTIFF_LIBRARY_DIR.")
ENDIF (NOT GEOTIFF_LIBRARY)
ENDIF(GDAL_HAS_GEOTIFF)
#-------------------------------
# End connections whith external libraries
......@@ -497,7 +552,7 @@ ENDIF(OTB_USE_VISU_GUI)
# Use OTB_ALLS_UTILITIES_DEPENDENT_LIBRARIES to LINK Utilities Algo libraries into your executable
# => Create OTB_IO_UTILITIES_DEPENDENT_LIBRARIES
SET(OTB_IO_UTILITIES_DEPENDENT_LIBRARIES "gdal;dxf;tinyXML;otbgeotiff;otbxtiff;otbliblas;otbossim;otbossimplugins" )
SET(OTB_IO_UTILITIES_DEPENDENT_LIBRARIES "gdal;dxf;tinyXML;otbliblas;otbossim;otbossimplugins" )
IF(NOT OTB_USE_EXTERNAL_OPENTHREADS)
SET(OTB_IO_UTILITIES_DEPENDENT_LIBRARIES "${OTB_IO_UTILITIES_DEPENDENT_LIBRARIES};${OPENTHREADS_LIBRARY}")
......
......@@ -27,7 +27,7 @@ ENDIF(OTB_COMPILE_JPEG2000)
ADD_LIBRARY(OTBIO ${OTBIO_SRCS})
TARGET_LINK_LIBRARIES (OTBIO OTBCommon ITKIO ITKCommon gdal otbossim otbossimplugins dxf otbkml otbliblas)
TARGET_LINK_LIBRARIES (OTBIO OTBCommon otbossim otbossimplugins ITKIO ITKCommon dxf otbkml otbliblas)
IF( OTB_COMPILE_JPEG2000 )
TARGET_LINK_LIBRARIES (OTBIO otbopenjpeg)
ENDIF( OTB_COMPILE_JPEG2000 )
......
......@@ -25,9 +25,8 @@ IF(NOT OTB_USE_EXTERNAL_EXPAT)
SUBDIRS( otbexpat )
ENDIF(NOT OTB_USE_EXTERNAL_EXPAT)
#Supress libraries not used by the 2.2.0 version
#SUBDIRS(BGL otbsvm dxflib InsightJournal otbossim otb6S otbgeotiff tinyXMLlib otbgalib otbkml)
SUBDIRS(BGL otbsvm dxflib InsightJournal otbossim otbossimplugins otb6S otbgeotiff tinyXMLlib otbkml otbliblas otbedison otbsiftfast)
SUBDIRS(BGL otbsvm dxflib InsightJournal otbossim otbossimplugins otb6S tinyXMLlib otbkml otbliblas otbedison otbsiftfast)
IF(BUILD_TESTING)
SUBDIRS( Dart )
......
# do not do coverage in this directory
PROJECT(libgeotiff)
FILE(GLOB libgeotiff_SRCS "*.c")
FILE(GLOB libgeotiff_HDRS "*.h")
CONFIGURE_FILE(geo_config.h.in ${OTB_BINARY_DIR}/Utilities/otbgeotiff/geo_config.h)
INCLUDE_DIRECTORIES(${OTB_BINARY_DIR}/Utilities/otbgeotiff/)
# Adjust the compiler flags to avoid problems with geotiff code.
IF(CMAKE_COMPILER_IS_GNUCC)
# Hide warnings in geotiff code.
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
# CMake versions before 2.4 did not put the source-file-specific flags
# after the directory-level flags. Remove optimization flags from the
# CMAKE_C_FLAGS* variables so they can be overridden.
IF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.4)
FOREACH(c "" "_DEBUG" "_RELEASE" "_MINSIZEREL" "_RELWITHDEBINFO")
STRING(REGEX REPLACE
"-O[^ ]*( |$)" "" CMAKE_C_FLAGS${c} "${CMAKE_C_FLAGS${c}}")
ENDFOREACH(c)
ENDIF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.4)
ENDIF(CMAKE_COMPILER_IS_GNUCC)
ADD_LIBRARY(otbgeotiff ${libgeotiff_SRCS})
TARGET_LINK_LIBRARIES(otbgeotiff itktiff)
INSTALL(TARGETS otbgeotiff
RUNTIME DESTINATION ${OTB_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries
LIBRARY DESTINATION ${OTB_INSTALL_LIB_DIR} COMPONENT RuntimeLibraries
ARCHIVE DESTINATION ${OTB_INSTALL_LIB_DIR} COMPONENT Development)
INSTALL(FILES ${libgeotiff_HDRS_HDRS}
DESTINATION ${OTB_INSTALL_INCLUDE_DIR}/Utilities/otbgeotiff
COMPONENT Development)
INSTALL(FILES ${OTB_BINARY_DIR}/Utilities/otbgeotiff/geo_config.h
DESTINATION ${OTB_INSTALL_INCLUDE_DIR}/Utilities/otbgeotiff
COMPONENT Development)
SUBDIRS(libxtiff)
libgeotiff Licensing
====================
All the source code in this toolkit are either in the public domain, or under
an X style license. In any event it is all considered to be free to use
for any purpose (including commercial software). No credit is required
though some of the code requires that the specific source code modules
retain their existing copyright statements. The CSV files, and other tables
derived from the EPSG coordinate system database are also free to use. In
particular, no part of this code is "copyleft", nor does it imply any
requirement for users to disclose this or their own source code.
All components not carrying their own copyright message, but distributed
with libgeotiff should be considered to be under the same license as
Niles' code.
---------
Code by Frank Warmerdam has this copyright notice (directly copied from
X Consortium licence):
* Copyright (c) 1999, Frank Warmerdam
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
-----------
Code by Niles Ritter is under this licence:
* Written By: Niles D. Ritter.
*
* copyright (c) 1995 Niles D. Ritter
*
* Permission granted to use this software, so long as this copyright
* notice accompanies any products derived therefrom.
-----------
The EPSG Tables (from which the CSV files, and .inc files are derived)
carried this statement on use of the data (from the EPSG web site):
Use of the Data
The user assumes the entire risk as to the accuracy and the use of this
data. The data may be copied and distributed subject to the following
conditions:
1.All data pertinent to a specific coordinate system must be copied
without modification and all related pages must be included;
2.All components of this data set pertinent to any given coordinate
system must be distributed together (complete distribution of all
components of the data set is preferred, but the EPSG recognises
the need for a more limited distribution);
3.The data may not be distributed for profit by any third party; and
4.The original source [EPSG] must be acknowledged.
INFORMATION PROVIDED IN THIS DOCUMENT IS PROVIDED "AS
IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
This diff is collapsed.
This diff is collapsed.
/******************************************************************************
* Copyright (c) 1998, Frank Warmerdam
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
******************************************************************************
*
* cpl_serv.h
*
* This include file derived and simplified from the GDAL Common Portability
* Library.
*/
#ifndef CPL_SERV_H_INCLUDED
#define CPL_SERV_H_INCLUDED
/* ==================================================================== */
/* Standard include files. */
/* ==================================================================== */
#include "geo_config.h"
#include <stdio.h>
#include <math.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#if defined(HAVE_STRINGS_H) && !defined(HAVE_STRING_H)
# include <strings.h>
#endif
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif
/**********************************************************************
* Do we want to build as a DLL on windows?
**********************************************************************/
#if !defined(CPL_DLL)
# if defined(_WIN32) && defined(BUILD_AS_DLL)
# define CPL_DLL __declspec(dllexport)
# else
# define CPL_DLL
# endif
#endif
/* ==================================================================== */
/* Other standard services. */
/* ==================================================================== */
#ifdef __cplusplus
# define CPL_C_START extern "C" {
# define CPL_C_END }
#else
# define CPL_C_START
# define CPL_C_END
#endif
#ifndef NULL
# define NULL 0
#endif
#ifndef FALSE
# define FALSE 0
#endif
#ifndef TRUE
# define TRUE 1
#endif
#ifndef MAX
# define MIN(a,b) ((a<b) ? a : b)
# define MAX(a,b) ((a>b) ? a : b)
#endif
#ifndef NULL
#define NULL 0
#endif
#ifndef ABS
# define ABS(x) ((x<0) ? (-1*(x)) : x)
#endif
#ifndef EQUAL
#if defined(_WIN32) && !defined(__CYGWIN__)
# define EQUALN(a,b,n) (strnicmp(a,b,n)==0)
# define EQUAL(a,b) (stricmp(a,b)==0)
#else
# define EQUALN(a,b,n) (strncasecmp(a,b,n)==0)
# define EQUAL(a,b) (strcasecmp(a,b)==0)
#endif
#endif
/* ==================================================================== */
/* VSI Services (just map directly onto Standard C services. */
/* ==================================================================== */
#define VSIFOpen fopen
#define VSIFClose fclose
#define VSIFEof feof
#define VSIFPrintf fprintf
#define VSIFPuts fputs
#define VSIFPutc fputc
#define VSIFGets fgets
#define VSIRewind rewind
#define VSIFSeek fseek
#define VSIFTell ftell
#define VSIFRead fread
#ifndef notdef
#define VSICalloc(x,y) _GTIFcalloc(x*y)
#define VSIMalloc _GTIFcalloc
#define VSIFree _GTIFFree
#define VSIRealloc _GTIFrealloc
#else
#define VSICalloc(x,y) (((char *) _GTIFcalloc(x*y+4)) + 4)
#define VSIMalloc(x) (((char *) _GTIFcalloc((x)+4)) + 4)
#define VSIFree(x) _GTIFFree(((char *) (x)) - 4)
#define VSIRealloc(p,n) (((char *) _GTIFrealloc(((char *)p)-4,(n)+4)) + 4)
#endif
/* -------------------------------------------------------------------- */
/* Safe malloc() API. Thin cover over VSI functions with fatal */
/* error reporting if memory allocation fails. */
/* -------------------------------------------------------------------- */
CPL_C_START
#define CPLMalloc gtCPLMalloc
#define CPLCalloc gtCPLCalloc
#define CPLRealloc gtCPLRealloc
#define CPLStrdup gtCPLStrdup
void CPL_DLL *CPLMalloc( int );
void CPL_DLL *CPLCalloc( int, int );
void CPL_DLL *CPLRealloc( void *, int );
char CPL_DLL *CPLStrdup( const char * );
#define CPLFree(x) { if( x != NULL ) VSIFree(x); }
/* -------------------------------------------------------------------- */
/* Read a line from a text file, and strip of CR/LF. */
/* -------------------------------------------------------------------- */
#define CPLReadLine gtCPLReadLine
const char CPL_DLL *CPLReadLine( FILE * );
/*=====================================================================
Error handling functions (cpl_error.c)
=====================================================================*/
typedef enum
{
CE_None = 0,
CE_Log = 1,
CE_Warning = 2,
CE_Failure = 3,
CE_Fatal = 4
} CPLErr;
#define CPLError gtCPLError
#define CPLErrorReset gtCPLErrorReset
#define CPLGetLastErrorNo gtCPLGetLastErrorNo
#define CPLGetLastErrorMsg gtCPLGetLastErrorMsg
#define CPLSetErrorHandler gtCPLSetErrorHandler
#define _CPLAssert gt_CPLAssert
void CPL_DLL CPLError(CPLErr eErrClass, int err_no, const char *fmt, ...);
void CPL_DLL CPLErrorReset();
int CPL_DLL CPLGetLastErrorNo();
const char CPL_DLL * CPLGetLastErrorMsg();
void CPL_DLL CPLSetErrorHandler(void(*pfnErrorHandler)(CPLErr,int,
const char *));
void CPL_DLL _CPLAssert( const char *, const char *, int );
#ifdef DEBUG
# define CPLAssert(expr) ((expr) ? (void)(0) : _CPLAssert(#expr,__FILE__,__LINE__))
#else
# define CPLAssert(expr)
#endif
CPL_C_END
/* ==================================================================== */
/* Well known error codes. */
/* ==================================================================== */
#define CPLE_AppDefined 1
#define CPLE_OutOfMemory 2
#define CPLE_FileIO 3
#define CPLE_OpenFailed 4
#define CPLE_IllegalArg 5
#define CPLE_NotSupported 6
#define CPLE_AssertionFailed 7
#define CPLE_NoWriteAccess 8
/*=====================================================================
Stringlist functions (strlist.c)
=====================================================================*/
CPL_C_START
#define CSLAddString gtCSLAddString
#define CSLCount gtCSLCount
#define CSLGetField gtCSLGetField
#define CSLDestroy gtCSLDestroy
#define CSLDuplicate gtCSLDuplicate
#define CSLTokenizeString gtCSLTokenizeString
#define CSLTokenizeStringComplex gtCSLTokenizeStringComplex
char CPL_DLL **CSLAddString(char **papszStrList, const char *pszNewString);
int CPL_DLL CSLCount(char **papszStrList);
const char CPL_DLL *CSLGetField( char **, int );
void CPL_DLL CSLDestroy(char **papszStrList);
char CPL_DLL **CSLDuplicate(char **papszStrList);
char CPL_DLL **CSLTokenizeString(const char *pszString );
char CPL_DLL **CSLTokenizeStringComplex(const char *pszString,
const char *pszDelimiter,
int bHonourStrings, int bAllowEmptyTokens );
/* ==================================================================== */
/* .csv file related functions (from cpl_csv.c) */
/* ==================================================================== */
typedef enum {
CC_ExactString,
CC_ApproxString,
CC_Integer
} CSVCompareCriteria;
#define CSVFilename gtCSVFilename
#define CSVReadParseLine gtCSVReadParseLine
#define CSVScanLines gtCSVScanLines
#define CSVScanFile gtCSVScanFile
#define CSVScanFileByName gtCSVScanFileByName
#define CSVGetFieldId gtCSVGetFieldId
#define CSVDeaccess gtCSVDeaccess
#define CSVGetField gtCSVGetField
#define SetCSVFilenameHook gtSetCSVFilenameHook
#define CSVGetFileFieldId gtCSVGetFileFieldId
const char CPL_DLL *CSVFilename( const char * );
char CPL_DLL **CSVReadParseLine( FILE * );
char CPL_DLL **CSVScanLines( FILE *, int, const char *, CSVCompareCriteria );
char CPL_DLL **CSVScanFile( const char *, int, const char *,
CSVCompareCriteria );
char CPL_DLL **CSVScanFileByName( const char *, const char *, const char *,
CSVCompareCriteria );
int CPL_DLL CSVGetFieldId( FILE *, const char * );
int CPL_DLL CSVGetFileFieldId( const char *, const char * );
void CPL_DLL CSVDeaccess( const char * );
const char CPL_DLL *CSVGetField( const char *, const char *, const char *,
CSVCompareCriteria, const char * );
void CPL_DLL SetCSVFilenameHook( const char *(*)(const char *) );
CPL_C_END
#endif /* ndef CPL_SERV_H_INCLUDED */
/*
* This file is included by the CSV ".c" files in the csv directory.
*/
#include <stdio.h>
/* Data structures */
typedef const char * datafile_rows_t;
typedef struct datafile_s {
const char *name;
const datafile_rows_t **rows;
} datafile_t;
/*
* EPSG/POSC Datum database -- GeoTIFF Rev. 0.2
*/
/* C database for Geotiff include files. */
/* the macro ValuePair() must be defined */
/* by the enclosing include file */
#ifdef INCLUDE_OLD_CODES
#include old_datum.inc
#endif /* OLD Codes */
/* New datums */
ValuePair(Datum_Dealul_Piscului_1970,6317)
/* Datums for which only the ellipsoid is known */
ValuePair(DatumE_Airy1830, 6001)
ValuePair(DatumE_AiryModified1849, 6002)
ValuePair(DatumE_AustralianNationalSpheroid, 6003)
ValuePair(DatumE_Bessel1841, 6004)
ValuePair(DatumE_BesselModified, 6005)
ValuePair(DatumE_BesselNamibia, 6006)
ValuePair(DatumE_Clarke1858, 6007)
ValuePair(DatumE_Clarke1866, 6008)
ValuePair(DatumE_Clarke1866Michigan, 6009)
ValuePair(DatumE_Clarke1880_Benoit, 6010)
ValuePair(DatumE_Clarke1880_IGN, 6011)
ValuePair(DatumE_Clarke1880_RGS, 6012)
ValuePair(DatumE_Clarke1880_Arc, 6013)
ValuePair(DatumE_Clarke1880_SGA1922, 6014)
ValuePair(DatumE_Everest1830_1937Adjustment, 6015)
ValuePair(DatumE_Everest1830_1967Definition, 6016)
ValuePair(DatumE_Everest1830_1975Definition, 6017)
ValuePair(DatumE_Everest1830Modified, 6018)
ValuePair(DatumE_GRS1980, 6019)
ValuePair(DatumE_Helmert1906, 6020)
ValuePair(DatumE_IndonesianNationalSpheroid, 6021)
ValuePair(DatumE_International1924, 6022)
ValuePair(DatumE_International1967, 6023)
ValuePair(DatumE_Krassowsky1960, 6024)
ValuePair(DatumE_NWL9D, 6025)
ValuePair(DatumE_NWL10D, 6026)
ValuePair(DatumE_Plessis1817, 6027)
ValuePair(DatumE_Struve1860, 6028)
ValuePair(DatumE_WarOffice, 6029)
ValuePair(DatumE_WGS84, 6030)
ValuePair(DatumE_GEM10C, 6031)
ValuePair(DatumE_OSU86F, 6032)
ValuePair(DatumE_OSU91A, 6033)
ValuePair(DatumE_Clarke1880, 6034)
ValuePair(DatumE_Sphere, 6035)
/* standard datums */
ValuePair(Datum_Adindan, 6201)
ValuePair(Datum_Australian_Geodetic_Datum_1966, 6202)
ValuePair(Datum_Australian_Geodetic_Datum_1984, 6203)
ValuePair(Datum_Ain_el_Abd_1970, 6204)
ValuePair(Datum_Afgooye, 6205)
ValuePair(Datum_Agadez, 6206)
ValuePair(Datum_Lisbon, 6207)
ValuePair(Datum_Aratu, 6208)
ValuePair(Datum_Arc_1950, 6209)
ValuePair(Datum_Arc_1960, 6210)
ValuePair(Datum_Batavia, 6211)
ValuePair(Datum_Barbados, 6212)
ValuePair(Datum_Beduaram, 6213)
ValuePair(Datum_Beijing_1954, 6214)
ValuePair(Datum_Reseau_National_Belge_1950, 6215)
ValuePair(Datum_Bermuda_1957, 6216)
ValuePair(Datum_Bern_1898, 6217)
ValuePair(Datum_Bogota, 6218)
ValuePair(Datum_Bukit_Rimpah, 6219)
ValuePair(Datum_Camacupa, 6220)
ValuePair(Datum_Campo_Inchauspe, 6221)
ValuePair(Datum_Cape, 6222)
ValuePair(Datum_Carthage, 6223)
ValuePair(Datum_Chua, 6224)
ValuePair(Datum_Corrego_Alegre, 6225)
ValuePair(Datum_Cote_d_Ivoire, 6226)
ValuePair(Datum_Deir_ez_Zor, 6227)
ValuePair(Datum_Douala, 6228)
ValuePair(Datum_Egypt_1907, 6229)
ValuePair(Datum_European_Datum_1950, 6230)
ValuePair(Datum_European_Datum_1987, 6231)
ValuePair(Datum_Fahud, 6232)
ValuePair(Datum_Gandajika_1970, 6233)
ValuePair(Datum_Garoua, 6234)
ValuePair(Datum_Guyane_Francaise, 6235)
ValuePair(Datum_Hu_Tzu_Shan, 6236)
ValuePair(Datum_Hungarian_Datum_1972, 6237)
ValuePair(Datum_Indonesian_Datum_1974, 6238)
ValuePair(Datum_Indian_1954, 6239)
ValuePair(Datum_Indian_1975, 6240)
ValuePair(Datum_Jamaica_1875, 6241)
ValuePair(Datum_Jamaica_1969, 6242)
ValuePair(Datum_Kalianpur, 6243)
ValuePair(Datum_Kandawala, 6244)
ValuePair(Datum_Kertau, 6245)
ValuePair(Datum_Kuwait_Oil_Company, 6246)
ValuePair(Datum_La_Canoa, 6247)
ValuePair(Datum_Provisional_S_American_Datum_1956, 6248)
ValuePair(Datum_Lake, 6249)
ValuePair(Datum_Leigon, 6250)
ValuePair(Datum_Liberia_1964, 6251)
ValuePair(Datum_Lome, 6252)
ValuePair(Datum_Luzon_1911, 6253)
ValuePair(Datum_Hito_XVIII_1963, 6254)
ValuePair(Datum_Herat_North, 6255)
ValuePair(Datum_Mahe_1971, 6256)
ValuePair(Datum_Makassar, 6257)
ValuePair(Datum_European_Reference_System_1989, 6258)
ValuePair(Datum_Malongo_1987, 6259)
ValuePair(Datum_Manoca, 6260)
ValuePair(Datum_Merchich, 6261)
ValuePair(Datum_Massawa, 6262)
ValuePair(Datum_Minna, 6263)
ValuePair(Datum_Mhast, 6264)
ValuePair(Datum_Monte_Mario, 6265)
ValuePair(Datum_M_poraloko, 6266)
ValuePair(Datum_North_American_Datum_1927, 6267)
ValuePair(Datum_NAD_Michigan, 6268)
ValuePair(Datum_North_American_Datum_1983, 6269)
ValuePair(Datum_Nahrwan_1967, 6270)
ValuePair(Datum_Naparima_1972, 6271)
ValuePair(Datum_New_Zealand_Geodetic_Datum_1949, 6272)
ValuePair(Datum_NGO_1948, 6273)
ValuePair(Datum_Datum_73, 6274)
ValuePair(Datum_Nouvelle_Triangulation_Francaise, 6275)
ValuePair(Datum_NSWC_9Z_2, 6276)
ValuePair(Datum_OSGB_1936, 6277)
ValuePair(Datum_OSGB_1970_SN, 6278)
ValuePair(Datum_OS_SN_1980, 6279)
ValuePair(Datum_Padang_1884, 6280)
ValuePair(Datum_Palestine_1923, 6281)
ValuePair(Datum_Pointe_Noire, 6282)
ValuePair(Datum_Geocentric_Datum_of_Australia_1994, 6283)
ValuePair(Datum_Pulkovo_1942, 6284)
ValuePair(Datum_Qatar, 6285)
ValuePair(Datum_Qatar_1948, 6286)
ValuePair(Datum_Qornoq, 6287)
ValuePair(Datum_Loma_Quintana, 6288)
ValuePair(Datum_Amersfoort, 6289)
ValuePair(Datum_RT38, 6290)
ValuePair(Datum_South_American_Datum_1969, 6291)
ValuePair(Datum_Sapper_Hill_1943, 6292)
ValuePair(Datum_Schwarzeck, 6293)
ValuePair(Datum_Segora, 6294)
ValuePair(Datum_Serindung, 6295)
ValuePair(Datum_Sudan, 6296)
ValuePair(Datum_Tananarive_1925, 6297)
ValuePair(Datum_Timbalai_1948, 6298)
ValuePair(Datum_TM65, 6299)
ValuePair(Datum_TM75, 6300)
ValuePair(Datum_Tokyo, 6301)
ValuePair(Datum_Trinidad_1903, 6302)
ValuePair(Datum_Trucial_Coast_1948, 6303)
ValuePair(Datum_Voirol_1875, 6304)
ValuePair(Datum_Voirol_Unifie_1960, 6305)
ValuePair(Datum_Bern_1938, 6306)
ValuePair(Datum_Nord_Sahara_1959, 6307)
ValuePair(Datum_Stockholm_1938, 6308)
ValuePair(Datum_Yacare, 6309)
ValuePair(Datum_Yoff, 6310)
ValuePair(Datum_Zanderij, 6311)
ValuePair(Datum_Militar_Geographische_Institut, 6312)
ValuePair(Datum_Reseau_National_Belge_1972, 6313)