Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

gdalbridge.h File Reference

#include <stdio.h>

Go to the source code of this file.


Compounds

struct   GDAL_GCP
  Ground Control Point. More...

struct   GDALColorEntry
  Color tuple. More...


Defines

#define  FALSE   0
#define  TRUE   1
#define  NULL   0
#define  GDAL_ENTRY   extern
#define  GDAL_NULL
#define  GDALGetDataTypeSize   pfnGDALGetDataTypeSize
#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
#define  CPLE_WrongFormat   200
#define  OGRERR_NONE   0
#define  OGRERR_NOT_ENOUGH_DATA   1
#define  OGRERR_NOT_ENOUGH_MEMORY   2
#define  OGRERR_UNSUPPORTED_GEOMETRY_TYPE   3
#define  OGRERR_UNSUPPORTED_OPERATION   4
#define  OGRERR_CORRUPT_DATA   5
#define  OGRERR_FAILURE   6
#define  OGRERR_UNSUPPORTED_SRS   7
#define  CPLErrorReset   pfnCPLErrorReset
  Erase any traces of previous errors. More...

#define  CPLGetLastErrorNo   pfnCPLGetLastErrorNo
  Fetch the last error number. More...

#define  CPLGetLastErrorType   pfnCPLGetLastErrorType
  Fetch the last error type. More...

#define  CPLGetLastErrorMsg   pfnCPLGetLastErrorMsg
  Get the last error message. More...

#define  CPLPushErrorHandler   pfnCPLPushErrorHandler
#define  CPLPopErrorHandler   pfnCPLPopErrorHandler
  Restore old CPLError handler. More...

#define  GDALAllRegister   pfnGDALAllRegister
#define  GDALCreate   pfnGDALCreate
#define  GDALOpen   pfnGDALOpen
#define  GDALGetDriverByName   pfnGDALGetDriverByName
#define  GDALGetDriverShortName   pfnGDALGetDriverShortName
#define  GDALGetDriverLongName   pfnGDALGetDriverLongName
#define  GDALGetMetadata   pfnGDALGetMetadata
#define  GDALSetMetadata   pfnGDALSetMetadata
#define  GDALGetMetadataItem   pfnGDALGetMetadataItem
#define  GDALSetMetadataItem   pfnGDALSetMetadataItem
#define  GDALGetDescription   pfnGDALGetDescription
#define  GDALClose   pfnGDALClose
#define  GDALGetDatasetDriver   pfnGDALGetDatasetDriver
#define  GDALGetRasterXSize   pfnGDALGetRasterXSize
#define  GDALGetRasterYSize   pfnGDALGetRasterYSize
#define  GDALGetRasterCount   pfnGDALGetRasterCount
#define  GDALGetRasterBand   pfnGDALGetRasterBand
#define  GDALGetProjectionRef   pfnGDALGetProjectionRef
#define  GDALSetProjection   pfnGDALSetProjection
#define  GDALGetGeoTransform   pfnGDALGetGeoTransform
#define  GDALSetGeoTransform   pfnGDALSetGeoTransform
#define  GDALGetInternalHandle   pfnGDALGetInternalHandle
#define  GDALGetGCPCount   pfnGDALGetGCPCount
#define  GDALGetGCPProjection   pfnGDALGetGCPProjection
#define  GDALGetGCPs   pfnGDALGetGCPs
#define  GDALGetRasterDataType   pGDALGetRasterDataType
#define  GDALGetBlockSize   pGDALGetBlockSize
#define  GDALRasterIO   pGDALRasterIO
#define  GDALReadBlock   pGDALReadBlock
#define  GDALWriteBlock   pGDALWriteBlock
#define  GDALGetOverviewCount   pGDALGetOverviewCount
#define  GDALGetOverview   pGDALGetOverview
#define  GDALGetRasterNoDataValue   pGDALGetRasterNoDataValue
#define  GDALSetRasterNoDataValue   pGDALSetRasterNoDataValue
#define  GDALGetRasterMinimum   pGDALGetRasterMinimum
#define  GDALGetRasterMaximum   pGDALGetRasterMaximum
#define  GDALComputeRasterMinMax   pGDALComputeRasterMinMax
#define  GDALGetRasterColorInterpretation   pGDALGetRasterColorInterpretation
#define  GDALGetColorInterpretationName   pGDALGetColorInterpretationName
#define  GDALGetRasterColorTable   pGDALGetRasterColorTable
#define  GDALGetRasterBandXSize   pfnGDALGetRasterBandXSize
#define  GDALGetRasterBandYSize   pfnGDALGetRasterBandYSize
#define  GDALGetPaletteInterpretation   pGDALGetPaletteInterpretation
#define  GDALGetPaletteInterpretationName   pGDALGetPaletteInterpretationName
#define  GDALGetColorEntryCount   pGDALGetColorEntryCount
#define  GDALGetColorEntry   pGDALGetColorEntry
#define  GDALGetColorEntryAsRGB   pGDALGetColorEntryAsRGB
#define  GDALSetColorEntry   pGDALSetColorEntry
#define  GDALDecToDMS   pGDALDecToDMS
#define  OSRNewSpatialReference   pOSRNewSpatialReference
#define  OSRCloneGeogCS   pOSRCloneGeogCS
#define  OSRDestroySpatialReference   pOSRDestroySpatialReference
#define  OSRReference   pOSRReference
#define  OSRDereference   pOSRDereference
#define  OSRImportFromEPSG   pOSRImportFromEPSG
#define  OSRImportFromWkt   pOSRImportFromWkt
#define  OSRImportFromProj4   pOSRImportFromProj4
#define  OSRExportToWkt   pOSRExportToWkt
#define  OSRExportToPrettyWkt   pOSRExportToPrettyWkt
#define  OSRExportToProj4   pOSRExportToProj4
#define  OSRSetAttrValue   pOSRSetAttrValue
#define  OSRGetAttrValue   pOSRGetAttrValue
#define  OSRSetLinearUnits   pOSRSetLinearUnits
#define  OSRGetLinearUnits   pOSRGetLinearUnits
#define  OSRIsGeographic   pOSRIsGeographic
#define  OSRIsProjected   pOSRIsProjected
#define  OSRIsSameGeogCS   pOSRIsSameGeogCS
#define  OSRIsSame   pOSRIsSame
#define  OSRSetProjCS   pOSRSetProjCS
#define  OSRSetWellKnownGeogCS   pOSRSetWellKnownGeogCS
#define  OSRSetGeogCS   pOSRSetGeogCS
#define  OSRGetSemiMajor   pOSRGetSemiMajor
#define  OSRGetSemiMinor   pOSRGetSemiMinor
#define  OSRGetInvFlattening   pOSRGetInvFlattening
#define  OSRSetAuthority   pOSRSetAuthority
#define  OSRSetProjParm   pOSRSetProjParm
#define  OSRGetProjParm   pOSRGetProjParm
#define  OSRSetUTM   pOSRSetUTM
#define  OSRGetUTMZone   pOSRGetUTMZone
#define  OCTNewCoordinateTransformation   pOCTNewCoordinateTransformation
#define  OCTDestroyCoordinateTransformation   pOCTDestroyCoordinateTransformation
#define  OCTTransform   pOCTTransform
#define  SRS_PT_ALBERS_CONIC_EQUAL_AREA
#define  SRS_PT_AZIMUTHAL_EQUIDISTANT   "Azimuthal_Equidistant"
#define  SRS_PT_CASSINI_SOLDNER   "Cassini_Soldner"
#define  SRS_PT_CYLINDRICAL_EQUAL_AREA   "Cylindrical_Equal_Area"
#define  SRS_PT_ECKERT_IV   "Eckert_IV"
#define  SRS_PT_ECKERT_VI   "Eckert_VI"
#define  SRS_PT_EQUIDISTANT_CONIC   "Equidistant_Conic"
#define  SRS_PT_EQUIRECTANGULAR   "Equirectangular"
#define  SRS_PT_GALL_STEREOGRAPHIC   "Gall_Stereographic"
#define  SRS_PT_GNOMONIC   "Gnomonic"
#define  SRS_PT_HOTINE_OBLIQUE_MERCATOR
#define  SRS_PT_LABORDE_OBLIQUE_MERCATOR
#define  SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP
#define  SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP
#define  SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM
#define  SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA
#define  SRS_PT_MERCATOR_1SP   "Mercator_1SP"
#define  SRS_PT_MERCATOR_2SP   "Mercator_2SP"
#define  SRS_PT_MILLER_CYLINDRICAL   "Miller_Cylindrical"
#define  SRS_PT_MOLLWEIDE   "Mollweide"
#define  SRS_PT_NEW_ZEALAND_MAP_GRID
#define  SRS_PT_OBLIQUE_STEREOGRAPHIC
#define  SRS_PT_ORTHOGRAPHIC   "Orthographic"
#define  SRS_PT_POLAR_STEREOGRAPHIC
#define  SRS_PT_POLYCONIC   "Polyconic"
#define  SRS_PT_ROBINSON   "Robinson"
#define  SRS_PT_SINUSOIDAL   "Sinusoidal"
#define  SRS_PT_STEREOGRAPHIC   "Stereographic"
#define  SRS_PT_SWISS_OBLIQUE_CYLINDRICAL
#define  SRS_PT_TRANSVERSE_MERCATOR
#define  SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED
#define  SRS_PT_TUNISIA_MINING_GRID
#define  SRS_PT_VANDERGRINTEN   "VanDerGrinten"
#define  SRS_PP_CENTRAL_MERIDIAN   "central_meridian"
#define  SRS_PP_SCALE_FACTOR   "scale_factor"
#define  SRS_PP_STANDARD_PARALLEL_1   "standard_parallel_1"
#define  SRS_PP_STANDARD_PARALLEL_2   "standard_parallel_2"
#define  SRS_PP_LONGITUDE_OF_CENTER   "longitude_of_center"
#define  SRS_PP_LATITUDE_OF_CENTER   "latitude_of_center"
#define  SRS_PP_LONGITUDE_OF_ORIGIN   "longitude_of_origin"
#define  SRS_PP_LATITUDE_OF_ORIGIN   "latitude_of_origin"
#define  SRS_PP_FALSE_EASTING   "false_easting"
#define  SRS_PP_FALSE_NORTHING   "false_northing"
#define  SRS_PP_AZIMUTH   "azimuth"
#define  SRS_PP_LONGITUDE_OF_POINT_1   "longitude_of_point_1"
#define  SRS_PP_LATITUDE_OF_POINT_1   "latitude_of_point_1"
#define  SRS_PP_LONGITUDE_OF_POINT_2   "longitude_of_point_2"
#define  SRS_PP_LATITUDE_OF_POINT_2   "latitude_of_point_2"
#define  SRS_PP_LONGITUDE_OF_POINT_3   "longitude_of_point_3"
#define  SRS_PP_LATITUDE_OF_POINT_3   "latitude_of_point_3"
#define  SRS_PP_RECTIFIED_GRID_ANGLE   "rectified_grid_angle"
#define  SRS_PP_LANDSAT_NUMBER   "landsat_number"
#define  SRS_PP_PATH_NUMBER   "path_number"
#define  SRS_PP_PERSPECTIVE_POINT_HEIGHT   "perspective_point_height"
#define  SRS_PP_FIPSZONE   "fipszone"
#define  SRS_PP_ZONE   "zone"
#define  SRS_UL_METER   "Meter"
#define  SRS_UL_FOOT   "Foot (International)"
#define  SRS_UL_FOOT_CONV   "0.3048"
#define  SRS_UL_US_FOOT   "U.S. Foot"
#define  SRS_UL_US_FOOT_CONV   "0.3048006"
#define  SRS_UL_NAUTICAL_MILE   "Nautical Mile"
#define  SRS_UL_NAUTICAL_MILE_CONV   "1852.0"
#define  SRS_UL_LINK   "Link"
#define  SRS_UL_LINK_CONV   "0.20116684023368047"
#define  SRS_UL_CHAIN   "Chain"
#define  SRS_UL_CHAIN_CONV   "2.0116684023368047"
#define  SRS_UL_ROD   "Rod"
#define  SRS_UL_ROD_CONV   "5.02921005842012"
#define  SRS_UA_DEGREE   "degree"
#define  SRS_UA_DEGREE_CONV   "0.0174532925199433"
#define  SRS_UA_RADIAN   "radian"
#define  SRS_PM_GREENWICH   "Greenwich"
#define  SRS_DN_NAD27   "North American Datum 1927"
#define  SRS_DN_NAD83   "North American Datum 1983"
#define  SRS_DN_WGS84   "World Geodetic System 1984"
#define  SRS_WGS84_SEMIMAJOR   6378137.0
#define  SRS_WGS84_INVFLATTENING   298.257223563

Typedefs

typedef int  GInt32
typedef unsigned int  GUInt32
typedef short  GInt16
typedef unsigned short  GUInt16
typedef unsigned char  GByte
typedef int  GBool
typedef int  OGRErr
typedef void (*  CPLErrorHandler )(CPLErr, int, const char *)
typedef void*  GDALMajorObjectH
typedef void*  GDALDatasetH
typedef void*  GDALRasterBandH
typedef void*  GDALDriverH
typedef void*  GDALColorTableH
typedef void*  OGRSpatialReferenceH
typedef void*  OGRCoordinateTransformationH

Enumerations

enum   GDALDataType {
  GDT_Unknown = 0, GDT_Byte = 1, GDT_UInt16 = 2, GDT_Int16 = 3,
  GDT_UInt32 = 4, GDT_Int32 = 5, GDT_Float32 = 6, GDT_Float64 = 7,
  GDT_CInt16 = 8, GDT_CInt32 = 9, GDT_CFloat32 = 10, GDT_CFloat64 = 11,
  GDT_TypeCount = 12
}
enum   GDALAccess { GA_ReadOnly = 0, GA_Update = 1 }
enum   GDALRWFlag { GF_Read = 0, GF_Write = 1 }
enum   GDALColorInterp {
  GCI_Undefined = 0, GCI_GrayIndex = 1, GCI_PaletteIndex = 2, GCI_RedBand = 3,
  GCI_GreenBand = 4, GCI_BlueBand = 5, GCI_AlphaBand = 6, GCI_HueBand = 7,
  GCI_SaturationBand = 8, GCI_LightnessBand = 9, GCI_CyanBand = 10, GCI_MagentaBand = 11,
  GCI_YellowBand = 12, GCI_BlackBand = 13
}
enum   GDALPaletteInterp { GPI_Gray = 0, GPI_RGB = 1, GPI_CMYK = 2, GPI_HLS = 3 }
enum   CPLErr {
  CE_None = 0, CE_Log = 1, CE_Warning = 2, CE_Failure = 3,
  CE_Fatal = 4
}

Functions

int  GDALBridgeInitialize (const char *, FILE *)
void*  GBGetSymbol (const char *, const char *)

Variables

GDAL_ENTRY int (*  pfnGDALGetDataTypeSize )(GDALDataType) GDAL_NULL
GDAL_ENTRY void (*  pfnCPLErrorReset )() GDAL_NULL
GDAL_ENTRY int (*  pfnCPLGetLastErrorNo )() GDAL_NULL
GDAL_ENTRY CPLErr (*  pfnCPLGetLastErrorType )() GDAL_NULL
GDAL_ENTRY const char* (*  pfnCPLGetLastErrorMsg )() GDAL_NULL
GDAL_ENTRY void (*  pfnCPLPushErrorHandler )(CPLErrorHandler) GDAL_NULL
GDAL_ENTRY void (*  pfnCPLPopErrorHandler )() GDAL_NULL
GDAL_ENTRY void (*  pfnGDALAllRegister )(void) GDAL_NULL
GDAL_ENTRY GDALDatasetH (*  pfnGDALCreate )(GDALDriverH hDriver, const char *, int, int, int, GDALDataType, char **) GDAL_NULL
GDAL_ENTRY GDALDatasetH (*  pfnGDALOpen )(const char *, GDALAccess) GDAL_NULL
GDAL_ENTRY GDALDriverH (*  pfnGDALGetDriverByName )(const char *) GDAL_NULL
GDAL_ENTRY const char* (*  pfnGDALGetDriverShortName )(GDALDriverH) GDAL_NULL
GDAL_ENTRY const char* (*  pfnGDALGetDriverLongName )(GDALDriverH) GDAL_NULL
GDAL_ENTRY char** (*  pfnGDALGetMetadata )(GDALMajorObjectH, const char *) GDAL_NULL
GDAL_ENTRY CPLErr (*  pfnGDALSetMetadata )(GDALMajorObjectH, char **, const char *) GDAL_NULL
GDAL_ENTRY const char* (*  pfnGDALGetMetadataItem )(GDALMajorObjectH, const char *, const char *) GDAL_NULL
GDAL_ENTRY CPLErr (*  pfnGDALSetMetadataItem )(GDALMajorObjectH, const char *, const char *, const char *) GDAL_NULL
GDAL_ENTRY const char* (*  pfnGDALGetDescription )(GDALMajorObjectH) GDAL_NULL
GDAL_ENTRY void (*  pfnGDALClose )(GDALDatasetH) GDAL_NULL
GDAL_ENTRY GDALDriverH (*  pfnGDALGetDatasetDriver )(GDALDatasetH) GDAL_NULL
GDAL_ENTRY int (*  pfnGDALGetRasterXSize )(GDALDatasetH) GDAL_NULL
GDAL_ENTRY int (*  pfnGDALGetRasterYSize )(GDALDatasetH) GDAL_NULL
GDAL_ENTRY int (*  pfnGDALGetRasterCount )(GDALDatasetH) GDAL_NULL
GDAL_ENTRY GDALRasterBandH (*  pfnGDALGetRasterBand )(GDALDatasetH, int) GDAL_NULL
GDAL_ENTRY const char* (*  pfnGDALGetProjectionRef )(GDALDatasetH) GDAL_NULL
GDAL_ENTRY CPLErr (*  pfnGDALSetProjection )(GDALDatasetH, const char *) GDAL_NULL
GDAL_ENTRY CPLErr (*  pfnGDALGetGeoTransform )(GDALDatasetH, double *) GDAL_NULL
GDAL_ENTRY CPLErr (*  pfnGDALSetGeoTransform )(GDALDatasetH, double *) GDAL_NULL
GDAL_ENTRY void* (*  pfnGDALGetInternalHandle )(GDALDatasetH, const char *) GDAL_NULL
GDAL_ENTRY int (*  pfnGDALGetGCPCount )(GDALDatasetH) GDAL_NULL
GDAL_ENTRY const char* (*  pfnGDALGetGCPProjection )(GDALDatasetH) GDAL_NULL
GDAL_ENTRY const GDAL_GCP* (*  pfnGDALGetGCPs )(GDALDatasetH) GDAL_NULL
GDAL_ENTRY GDALDataType (*  pGDALGetRasterDataType )(GDALRasterBandH) GDAL_NULL
GDAL_ENTRY void (*  pGDALGetBlockSize )(GDALRasterBandH, int *pnXSize, int *pnYSize) GDAL_NULL
GDAL_ENTRY CPLErr (*  pGDALRasterIO )(GDALRasterBandH hRBand, GDALRWFlag eRWFlag, int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize, void *pBuffer, int nBXSize, int nBYSize, GDALDataType eBDataType, int nPixelSpace, int nLineSpace) GDAL_NULL
GDAL_ENTRY CPLErr (*  pGDALReadBlock )(GDALRasterBandH, int, int, void *) GDAL_NULL
GDAL_ENTRY CPLErr (*  pGDALWriteBlock )(GDALRasterBandH, int, int, void *) GDAL_NULL
GDAL_ENTRY int (*  pGDALGetOverviewCount )(GDALRasterBandH) GDAL_NULL
GDAL_ENTRY GDALRasterBandH (*  pGDALGetOverview )(GDALRasterBandH, int) GDAL_NULL
GDAL_ENTRY double (*  pGDALGetRasterNoDataValue )(GDALRasterBandH, int *) GDAL_NULL
GDAL_ENTRY CPLErr (*  pGDALSetRasterNoDataValue )(GDALRasterBandH, double) GDAL_NULL
GDAL_ENTRY double (*  pGDALGetRasterMinimum )(GDALRasterBandH, int *) GDAL_NULL
GDAL_ENTRY double (*  pGDALGetRasterMaximum )(GDALRasterBandH, int *) GDAL_NULL
GDAL_ENTRY void (*  pGDALComputeRasterMinMax )(GDALRasterBandH, int, double *) GDAL_NULL
GDAL_ENTRY GDALColorInterp (*  pGDALGetRasterColorInterpretation )(GDALRasterBandH) GDAL_NULL
GDAL_ENTRY const char* (*  pGDALGetColorInterpretationName )(GDALColorInterp) GDAL_NULL
GDAL_ENTRY GDALColorTableH (*  pGDALGetRasterColorTable )(GDALRasterBandH) GDAL_NULL
GDAL_ENTRY int (*  pfnGDALGetRasterBandXSize )(GDALRasterBandH) GDAL_NULL
GDAL_ENTRY int (*  pfnGDALGetRasterBandYSize )(GDALRasterBandH) GDAL_NULL
GDAL_ENTRY GDALPaletteInterp (*  pGDALGetPaletteInterpretation )(GDALColorTableH) GDAL_NULL
GDAL_ENTRY const char* (*  pGDALGetPaletteInterpretationName )(GDALPaletteInterp) GDAL_NULL
GDAL_ENTRY int (*  pGDALGetColorEntryCount )(GDALColorTableH) GDAL_NULL
GDAL_ENTRY const GDALColorEntry* (*  pGDALGetColorEntry )(GDALColorTableH, int) GDAL_NULL
GDAL_ENTRY int (*  pGDALGetColorEntryAsRGB )(GDALColorTableH, int, GDALColorEntry *) GDAL_NULL
GDAL_ENTRY void (*  pGDALSetColorEntry )(GDALColorTableH, int, const GDALColorEntry *) GDAL_NULL
GDAL_ENTRY const char* (*  pGDALDecToDMS )(double, const char *, int) GDAL_NULL
GDAL_ENTRY OGRSpatialReferenceH (*  pOSRNewSpatialReference )(const char *) GDAL_NULL
GDAL_ENTRY OGRSpatialReferenceH (*  pOSRCloneGeogCS )(OGRSpatialReferenceH) GDAL_NULL
GDAL_ENTRY void (*  pOSRDestroySpatialReference )(OGRSpatialReferenceH) GDAL_NULL
GDAL_ENTRY int (*  pOSRReference )(OGRSpatialReferenceH) GDAL_NULL
GDAL_ENTRY int (*  pOSRDereference )(OGRSpatialReferenceH) GDAL_NULL
GDAL_ENTRY OGRErr (*  pOSRImportFromEPSG )(OGRSpatialReferenceH, int) GDAL_NULL
GDAL_ENTRY OGRErr (*  pOSRImportFromWkt )(OGRSpatialReferenceH, char **) GDAL_NULL
GDAL_ENTRY OGRErr (*  pOSRImportFromProj4 )(OGRSpatialReferenceH, const char *) GDAL_NULL
GDAL_ENTRY OGRErr (*  pOSRExportToWkt )(OGRSpatialReferenceH, char **) GDAL_NULL
GDAL_ENTRY OGRErr (*  pOSRExportToPrettyWkt )(OGRSpatialReferenceH, char **, int) GDAL_NULL
GDAL_ENTRY OGRErr (*  pOSRExportToProj4 )(OGRSpatialReferenceH, char **) GDAL_NULL
GDAL_ENTRY OGRErr (*  pOSRSetAttrValue )(OGRSpatialReferenceH hSRS, const char *pszNodePath, const char *pszNewNodeValue) GDAL_NULL
GDAL_ENTRY const char* (*  pOSRGetAttrValue )(OGRSpatialReferenceH hSRS, const char *pszName, int iChild) GDAL_NULL
GDAL_ENTRY OGRErr (*  pOSRSetLinearUnits )(OGRSpatialReferenceH, const char *, double) GDAL_NULL
GDAL_ENTRY double (*  pOSRGetLinearUnits )(OGRSpatialReferenceH, char **) GDAL_NULL
GDAL_ENTRY int (*  pOSRIsGeographic )(OGRSpatialReferenceH) GDAL_NULL
GDAL_ENTRY int (*  pOSRIsProjected )(OGRSpatialReferenceH) GDAL_NULL
GDAL_ENTRY int (*  pOSRIsSameGeogCS )(OGRSpatialReferenceH, OGRSpatialReferenceH) GDAL_NULL
GDAL_ENTRY int (*  pOSRIsSame )(OGRSpatialReferenceH, OGRSpatialReferenceH) GDAL_NULL
GDAL_ENTRY OGRErr (*  pOSRSetProjCS )(OGRSpatialReferenceH hSRS, const char *pszName) GDAL_NULL
GDAL_ENTRY OGRErr (*  pOSRSetWellKnownGeogCS )(OGRSpatialReferenceH hSRS, const char *pszName) GDAL_NULL
GDAL_ENTRY OGRErr (*  pOSRSetGeogCS )(OGRSpatialReferenceH hSRS, const char *pszGeogName, const char *pszDatumName, const char *pszEllipsoidName, double dfSemiMajor, double dfInvFlattening, const char *pszPMName, double dfPMOffset, const char *pszUnits, double dfConvertToRadians) GDAL_NULL
GDAL_ENTRY double (*  pOSRGetSemiMajor )(OGRSpatialReferenceH, OGRErr *) GDAL_NULL
GDAL_ENTRY double (*  pOSRGetSemiMinor )(OGRSpatialReferenceH, OGRErr *) GDAL_NULL
GDAL_ENTRY double (*  pOSRGetInvFlattening )(OGRSpatialReferenceH, OGRErr *) GDAL_NULL
GDAL_ENTRY OGRErr (*  pOSRSetAuthority )(OGRSpatialReferenceH hSRS, const char *pszTargetKey, const char *pszAuthority, int nCode) GDAL_NULL
GDAL_ENTRY OGRErr (*  pOSRSetProjParm )(OGRSpatialReferenceH, const char *, double) GDAL_NULL
GDAL_ENTRY double (*  pOSRGetProjParm )(OGRSpatialReferenceH hSRS, const char *pszParmName, double dfDefault, OGRErr *) GDAL_NULL
GDAL_ENTRY OGRErr (*  pOSRSetUTM )(OGRSpatialReferenceH hSRS, int nZone, int bNorth) GDAL_NULL
GDAL_ENTRY int (*  pOSRGetUTMZone )(OGRSpatialReferenceH hSRS, int *pbNorth) GDAL_NULL
GDAL_ENTRY OGRCoordinateTransformationH (*  pOCTNewCoordinateTransformation )(OGRSpatialReferenceH hSourceSRS, OGRSpatialReferenceH hTargetSRS) GDAL_NULL
GDAL_ENTRY void (*  pOCTDestroyCoordinateTransformation )(OGRCoordinateTransformationH) GDAL_NULL
GDAL_ENTRY int (*  pOCTTransform )(OGRCoordinateTransformationH hCT, int nCount, double *x, double *y, double *z) GDAL_NULL

Define Documentation

#define CPLE_AppDefined   1
 

Definition at line 181 of file gdalbridge.h.

#define CPLE_AssertionFailed   7
 

Definition at line 187 of file gdalbridge.h.

#define CPLE_FileIO   3
 

Definition at line 183 of file gdalbridge.h.

#define CPLE_IllegalArg   5
 

Definition at line 185 of file gdalbridge.h.

#define CPLE_NoWriteAccess   8
 

Definition at line 188 of file gdalbridge.h.

#define CPLE_NotSupported   6
 

Definition at line 186 of file gdalbridge.h.

#define CPLE_OpenFailed   4
 

Definition at line 184 of file gdalbridge.h.

#define CPLE_OutOfMemory   2
 

Definition at line 182 of file gdalbridge.h.

#define CPLE_WrongFormat   200
 

Definition at line 190 of file gdalbridge.h.

void CPLErrorReset   pfnCPLErrorReset
 

Erase any traces of previous errors.

This is normally used to ensure that an error which has been recovered from does not appear to be still in play with high level functions.

Definition at line 209 of file gdalbridge.h.

const char * CPLGetLastErrorMsg   pfnCPLGetLastErrorMsg
 

Get the last error message.

Fetches the last error message posted with CPLError(), that hasn't been cleared by CPLErrorReset(). The returned pointer is to an internal string that should not be altered or freed.

Returns:
the last error message, or NULL if there is no posted error message.

Definition at line 218 of file gdalbridge.h.

int CPLGetLastErrorNo   pfnCPLGetLastErrorNo
 

Fetch the last error number.

This is the error number, not the error class.

Returns:
the error number of the last error to occur, or CPLE_None (0) if there are no posted errors.

Definition at line 212 of file gdalbridge.h.

CPLErr CPLGetLastErrorType   pfnCPLGetLastErrorType
 

Fetch the last error type.

This is the error class, not the error number.

Returns:
the error number of the last error to occur, or CE_None (0) if there are no posted errors.

Definition at line 215 of file gdalbridge.h.

void CPLPopErrorHandler   pfnCPLPopErrorHandler
 

Restore old CPLError handler.

Discards the current error handler, and restore the one in use before the last CPLPushErrorHandler() call.

Definition at line 224 of file gdalbridge.h.

#define CPLPushErrorHandler   pfnCPLPushErrorHandler
 

Definition at line 221 of file gdalbridge.h.

#define FALSE   0
 

Definition at line 91 of file gdalbridge.h.

#define GDALAllRegister   pfnGDALAllRegister
 

Definition at line 271 of file gdalbridge.h.

#define GDALClose   pfnGDALClose
 

Definition at line 320 of file gdalbridge.h.

#define GDALComputeRasterMinMax   pGDALComputeRasterMinMax
 

Definition at line 413 of file gdalbridge.h.

#define GDALCreate   pfnGDALCreate
 

Definition at line 276 of file gdalbridge.h.

#define GDALDecToDMS   pGDALDecToDMS
 

Definition at line 475 of file gdalbridge.h.

#define GDALGetBlockSize   pGDALGetBlockSize
 

Definition at line 373 of file gdalbridge.h.

#define GDALGetColorEntry   pGDALGetColorEntry
 

Definition at line 460 of file gdalbridge.h.

#define GDALGetColorEntryAsRGB   pGDALGetColorEntryAsRGB
 

Definition at line 464 of file gdalbridge.h.

#define GDALGetColorEntryCount   pGDALGetColorEntryCount
 

Definition at line 457 of file gdalbridge.h.

#define GDALGetColorInterpretationName   pGDALGetColorInterpretationName
 

Definition at line 420 of file gdalbridge.h.

#define GDALGetDataTypeSize   pfnGDALGetDataTypeSize
 

Definition at line 126 of file gdalbridge.h.

#define GDALGetDatasetDriver   pfnGDALGetDatasetDriver
 

Definition at line 323 of file gdalbridge.h.

#define GDALGetDescription   pfnGDALGetDescription
 

Definition at line 313 of file gdalbridge.h.

#define GDALGetDriverByName   pfnGDALGetDriverByName
 

Definition at line 283 of file gdalbridge.h.

#define GDALGetDriverLongName   pfnGDALGetDriverLongName
 

Definition at line 289 of file gdalbridge.h.

#define GDALGetDriverShortName   pfnGDALGetDriverShortName
 

Definition at line 286 of file gdalbridge.h.

#define GDALGetGCPCount   pfnGDALGetGCPCount
 

Definition at line 356 of file gdalbridge.h.

#define GDALGetGCPProjection   pfnGDALGetGCPProjection
 

Definition at line 359 of file gdalbridge.h.

#define GDALGetGCPs   pfnGDALGetGCPs
 

Definition at line 362 of file gdalbridge.h.

#define GDALGetGeoTransform   pfnGDALGetGeoTransform
 

Definition at line 346 of file gdalbridge.h.

#define GDALGetInternalHandle   pfnGDALGetInternalHandle
 

Definition at line 353 of file gdalbridge.h.

#define GDALGetMetadata   pfnGDALGetMetadata
 

Definition at line 297 of file gdalbridge.h.

#define GDALGetMetadataItem   pfnGDALGetMetadataItem
 

Definition at line 305 of file gdalbridge.h.

#define GDALGetOverview   pGDALGetOverview
 

Definition at line 395 of file gdalbridge.h.

#define GDALGetOverviewCount   pGDALGetOverviewCount
 

Definition at line 392 of file gdalbridge.h.

#define GDALGetPaletteInterpretation   pGDALGetPaletteInterpretation
 

Definition at line 451 of file gdalbridge.h.

#define GDALGetPaletteInterpretationName   pGDALGetPaletteInterpretationName
 

Definition at line 454 of file gdalbridge.h.

#define GDALGetProjectionRef   pfnGDALGetProjectionRef
 

Definition at line 339 of file gdalbridge.h.

#define GDALGetRasterBand   pfnGDALGetRasterBand
 

Definition at line 336 of file gdalbridge.h.

#define GDALGetRasterBandXSize   pfnGDALGetRasterBandXSize
 

Definition at line 426 of file gdalbridge.h.

#define GDALGetRasterBandYSize   pfnGDALGetRasterBandYSize
 

Definition at line 429 of file gdalbridge.h.

#define GDALGetRasterColorInterpretation   pGDALGetRasterColorInterpretation
 

Definition at line 417 of file gdalbridge.h.

#define GDALGetRasterColorTable   pGDALGetRasterColorTable
 

Definition at line 423 of file gdalbridge.h.

#define GDALGetRasterCount   pfnGDALGetRasterCount
 

Definition at line 332 of file gdalbridge.h.

#define GDALGetRasterDataType   pGDALGetRasterDataType
 

Definition at line 369 of file gdalbridge.h.

#define GDALGetRasterMaximum   pGDALGetRasterMaximum
 

Definition at line 409 of file gdalbridge.h.

#define GDALGetRasterMinimum   pGDALGetRasterMinimum
 

Definition at line 406 of file gdalbridge.h.

#define GDALGetRasterNoDataValue   pGDALGetRasterNoDataValue
 

Definition at line 399 of file gdalbridge.h.

#define GDALGetRasterXSize   pfnGDALGetRasterXSize
 

Definition at line 326 of file gdalbridge.h.

#define GDALGetRasterYSize   pfnGDALGetRasterYSize
 

Definition at line 329 of file gdalbridge.h.

#define GDALOpen   pfnGDALOpen
 

Definition at line 280 of file gdalbridge.h.

#define GDALRasterIO   pGDALRasterIO
 

Definition at line 381 of file gdalbridge.h.

#define GDALReadBlock   pGDALReadBlock
 

Definition at line 385 of file gdalbridge.h.

#define GDALSetColorEntry   pGDALSetColorEntry
 

Definition at line 468 of file gdalbridge.h.

#define GDALSetGeoTransform   pfnGDALSetGeoTransform
 

Definition at line 349 of file gdalbridge.h.

#define GDALSetMetadata   pfnGDALSetMetadata
 

Definition at line 301 of file gdalbridge.h.

#define GDALSetMetadataItem   pfnGDALSetMetadataItem
 

Definition at line 310 of file gdalbridge.h.

#define GDALSetProjection   pfnGDALSetProjection
 

Definition at line 343 of file gdalbridge.h.

#define GDALSetRasterNoDataValue   pGDALSetRasterNoDataValue
 

Definition at line 403 of file gdalbridge.h.

#define GDALWriteBlock   pGDALWriteBlock
 

Definition at line 389 of file gdalbridge.h.

#define GDAL_ENTRY   extern
 

Definition at line 100 of file gdalbridge.h.

#define GDAL_NULL
 

Value:


        

Definition at line 101 of file gdalbridge.h.

#define NULL   0
 

Definition at line 96 of file gdalbridge.h.

#define OCTDestroyCoordinateTransformation   pOCTDestroyCoordinateTransformation
 

Definition at line 616 of file gdalbridge.h.

#define OCTNewCoordinateTransformation   pOCTNewCoordinateTransformation
 

Definition at line 612 of file gdalbridge.h.

#define OCTTransform   pOCTTransform
 

Definition at line 621 of file gdalbridge.h.

#define OGRERR_CORRUPT_DATA   5
 

Definition at line 199 of file gdalbridge.h.

#define OGRERR_FAILURE   6
 

Definition at line 200 of file gdalbridge.h.

#define OGRERR_NONE   0
 

Definition at line 194 of file gdalbridge.h.

#define OGRERR_NOT_ENOUGH_DATA   1
 

Definition at line 195 of file gdalbridge.h.

#define OGRERR_NOT_ENOUGH_MEMORY   2
 

Definition at line 196 of file gdalbridge.h.

#define OGRERR_UNSUPPORTED_GEOMETRY_TYPE   3
 

Definition at line 197 of file gdalbridge.h.

#define OGRERR_UNSUPPORTED_OPERATION   4
 

Definition at line 198 of file gdalbridge.h.

#define OGRERR_UNSUPPORTED_SRS   7
 

Definition at line 201 of file gdalbridge.h.

#define OSRCloneGeogCS   pOSRCloneGeogCS
 

Definition at line 487 of file gdalbridge.h.

#define OSRDereference   pOSRDereference
 

Definition at line 497 of file gdalbridge.h.

#define OSRDestroySpatialReference   pOSRDestroySpatialReference
 

Definition at line 491 of file gdalbridge.h.

Referenced by OgcWktToOssimKwl().

#define OSRExportToPrettyWkt   pOSRExportToPrettyWkt
 

Definition at line 516 of file gdalbridge.h.

#define OSRExportToProj4   pOSRExportToProj4
 

Definition at line 520 of file gdalbridge.h.

#define OSRExportToWkt   pOSRExportToWkt
 

Definition at line 512 of file gdalbridge.h.

#define OSRGetAttrValue   pOSRGetAttrValue
 

Definition at line 530 of file gdalbridge.h.

Referenced by OgcWktToOssimKwl().

#define OSRGetInvFlattening   pOSRGetInvFlattening
 

Definition at line 583 of file gdalbridge.h.

#define OSRGetLinearUnits   pOSRGetLinearUnits
 

Definition at line 538 of file gdalbridge.h.

#define OSRGetProjParm   pOSRGetProjParm
 

Definition at line 599 of file gdalbridge.h.

Referenced by OgcWktToOssimKwl().

#define OSRGetSemiMajor   pOSRGetSemiMajor
 

Definition at line 575 of file gdalbridge.h.

#define OSRGetSemiMinor   pOSRGetSemiMinor
 

Definition at line 579 of file gdalbridge.h.

#define OSRGetUTMZone   pOSRGetUTMZone
 

Definition at line 607 of file gdalbridge.h.

Referenced by OgcWktToOssimKwl().

#define OSRImportFromEPSG   pOSRImportFromEPSG
 

Definition at line 500 of file gdalbridge.h.

#define OSRImportFromProj4   pOSRImportFromProj4
 

Definition at line 508 of file gdalbridge.h.

#define OSRImportFromWkt   pOSRImportFromWkt
 

Definition at line 504 of file gdalbridge.h.

Referenced by OgcWktToOssimKwl().

#define OSRIsGeographic   pOSRIsGeographic
 

Definition at line 541 of file gdalbridge.h.

Referenced by OgcWktToOssimKwl().

#define OSRIsProjected   pOSRIsProjected
 

Definition at line 544 of file gdalbridge.h.

Referenced by OgcWktToOssimKwl().

#define OSRIsSame   pOSRIsSame
 

Definition at line 552 of file gdalbridge.h.

#define OSRIsSameGeogCS   pOSRIsSameGeogCS
 

Definition at line 548 of file gdalbridge.h.

#define OSRNewSpatialReference   pOSRNewSpatialReference
 

Definition at line 483 of file gdalbridge.h.

Referenced by OgcWktToOssimKwl().

#define OSRReference   pOSRReference
 

Definition at line 494 of file gdalbridge.h.

#define OSRSetAttrValue   pOSRSetAttrValue
 

Definition at line 526 of file gdalbridge.h.

#define OSRSetAuthority   pOSRSetAuthority
 

Definition at line 589 of file gdalbridge.h.

#define OSRSetGeogCS   pOSRSetGeogCS
 

Definition at line 571 of file gdalbridge.h.

#define OSRSetLinearUnits   pOSRSetLinearUnits
 

Definition at line 534 of file gdalbridge.h.

#define OSRSetProjCS   pOSRSetProjCS
 

Definition at line 556 of file gdalbridge.h.

#define OSRSetProjParm   pOSRSetProjParm
 

Definition at line 593 of file gdalbridge.h.

#define OSRSetUTM   pOSRSetUTM
 

Definition at line 603 of file gdalbridge.h.

#define OSRSetWellKnownGeogCS   pOSRSetWellKnownGeogCS
 

Definition at line 560 of file gdalbridge.h.

#define SRS_DN_NAD27   "North American Datum 1927"
 

Definition at line 722 of file gdalbridge.h.

#define SRS_DN_NAD83   "North American Datum 1983"
 

Definition at line 723 of file gdalbridge.h.

#define SRS_DN_WGS84   "World Geodetic System 1984"
 

Definition at line 724 of file gdalbridge.h.

#define SRS_PM_GREENWICH   "Greenwich"
 

Definition at line 720 of file gdalbridge.h.

#define SRS_PP_AZIMUTH   "azimuth"
 

Definition at line 688 of file gdalbridge.h.

#define SRS_PP_CENTRAL_MERIDIAN   "central_meridian"
 

Definition at line 678 of file gdalbridge.h.

#define SRS_PP_FALSE_EASTING   "false_easting"
 

Definition at line 686 of file gdalbridge.h.

#define SRS_PP_FALSE_NORTHING   "false_northing"
 

Definition at line 687 of file gdalbridge.h.

#define SRS_PP_FIPSZONE   "fipszone"
 

Definition at line 699 of file gdalbridge.h.

#define SRS_PP_LANDSAT_NUMBER   "landsat_number"
 

Definition at line 696 of file gdalbridge.h.

#define SRS_PP_LATITUDE_OF_CENTER   "latitude_of_center"
 

Definition at line 683 of file gdalbridge.h.

#define SRS_PP_LATITUDE_OF_ORIGIN   "latitude_of_origin"
 

Definition at line 685 of file gdalbridge.h.

#define SRS_PP_LATITUDE_OF_POINT_1   "latitude_of_point_1"
 

Definition at line 690 of file gdalbridge.h.

#define SRS_PP_LATITUDE_OF_POINT_2   "latitude_of_point_2"
 

Definition at line 692 of file gdalbridge.h.

#define SRS_PP_LATITUDE_OF_POINT_3   "latitude_of_point_3"
 

Definition at line 694 of file gdalbridge.h.

#define SRS_PP_LONGITUDE_OF_CENTER   "longitude_of_center"
 

Definition at line 682 of file gdalbridge.h.

#define SRS_PP_LONGITUDE_OF_ORIGIN   "longitude_of_origin"
 

Definition at line 684 of file gdalbridge.h.

#define SRS_PP_LONGITUDE_OF_POINT_1   "longitude_of_point_1"
 

Definition at line 689 of file gdalbridge.h.

#define SRS_PP_LONGITUDE_OF_POINT_2   "longitude_of_point_2"
 

Definition at line 691 of file gdalbridge.h.

#define SRS_PP_LONGITUDE_OF_POINT_3   "longitude_of_point_3"
 

Definition at line 693 of file gdalbridge.h.

#define SRS_PP_PATH_NUMBER   "path_number"
 

Definition at line 697 of file gdalbridge.h.

#define SRS_PP_PERSPECTIVE_POINT_HEIGHT   "perspective_point_height"
 

Definition at line 698 of file gdalbridge.h.

#define SRS_PP_RECTIFIED_GRID_ANGLE   "rectified_grid_angle"
 

Definition at line 695 of file gdalbridge.h.

#define SRS_PP_SCALE_FACTOR   "scale_factor"
 

Definition at line 679 of file gdalbridge.h.

#define SRS_PP_STANDARD_PARALLEL_1   "standard_parallel_1"
 

Definition at line 680 of file gdalbridge.h.

#define SRS_PP_STANDARD_PARALLEL_2   "standard_parallel_2"
 

Definition at line 681 of file gdalbridge.h.

#define SRS_PP_ZONE   "zone"
 

Definition at line 700 of file gdalbridge.h.

#define SRS_PT_ALBERS_CONIC_EQUAL_AREA
 

Value:

                                "Albers_Conic_Equal_Area"

Definition at line 628 of file gdalbridge.h.

#define SRS_PT_AZIMUTHAL_EQUIDISTANT   "Azimuthal_Equidistant"
 

Definition at line 630 of file gdalbridge.h.

#define SRS_PT_CASSINI_SOLDNER   "Cassini_Soldner"
 

Definition at line 631 of file gdalbridge.h.

#define SRS_PT_CYLINDRICAL_EQUAL_AREA   "Cylindrical_Equal_Area"
 

Definition at line 632 of file gdalbridge.h.

#define SRS_PT_ECKERT_IV   "Eckert_IV"
 

Definition at line 633 of file gdalbridge.h.

#define SRS_PT_ECKERT_VI   "Eckert_VI"
 

Definition at line 634 of file gdalbridge.h.

#define SRS_PT_EQUIDISTANT_CONIC   "Equidistant_Conic"
 

Definition at line 635 of file gdalbridge.h.

#define SRS_PT_EQUIRECTANGULAR   "Equirectangular"
 

Definition at line 636 of file gdalbridge.h.

#define SRS_PT_GALL_STEREOGRAPHIC   "Gall_Stereographic"
 

Definition at line 637 of file gdalbridge.h.

#define SRS_PT_GNOMONIC   "Gnomonic"
 

Definition at line 638 of file gdalbridge.h.

#define SRS_PT_HOTINE_OBLIQUE_MERCATOR
 

Value:

                                "Hotine_Oblique_Mercator"

Definition at line 639 of file gdalbridge.h.

#define SRS_PT_LABORDE_OBLIQUE_MERCATOR
 

Value:

                                "Laborde_Oblique_Mercator"

Definition at line 641 of file gdalbridge.h.

#define SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA
 

Value:

                                "Lambert_Azimuthal_Equal_Area"

Definition at line 649 of file gdalbridge.h.

#define SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP
 

Value:

                                "Lambert_Conformal_Conic_1SP"

Definition at line 643 of file gdalbridge.h.

#define SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP
 

Value:

                                "Lambert_Conformal_Conic_2SP"

Definition at line 645 of file gdalbridge.h.

#define SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM
 

Value:

                                "Lambert_Conformal_Conic_2SP_Belgium)"

Definition at line 647 of file gdalbridge.h.

#define SRS_PT_MERCATOR_1SP   "Mercator_1SP"
 

Definition at line 651 of file gdalbridge.h.

#define SRS_PT_MERCATOR_2SP   "Mercator_2SP"
 

Definition at line 652 of file gdalbridge.h.

#define SRS_PT_MILLER_CYLINDRICAL   "Miller_Cylindrical"
 

Definition at line 653 of file gdalbridge.h.

#define SRS_PT_MOLLWEIDE   "Mollweide"
 

Definition at line 654 of file gdalbridge.h.

#define SRS_PT_NEW_ZEALAND_MAP_GRID
 

Value:

                                "New_Zealand_Map_Grid"

Definition at line 655 of file gdalbridge.h.

#define SRS_PT_OBLIQUE_STEREOGRAPHIC
 

Value:

                                "Oblique_Stereographic"

Definition at line 657 of file gdalbridge.h.

#define SRS_PT_ORTHOGRAPHIC   "Orthographic"
 

Definition at line 659 of file gdalbridge.h.

#define SRS_PT_POLAR_STEREOGRAPHIC
 

Value:

                                "Polar_Stereographic"

Definition at line 660 of file gdalbridge.h.

#define SRS_PT_POLYCONIC   "Polyconic"
 

Definition at line 662 of file gdalbridge.h.

#define SRS_PT_ROBINSON   "Robinson"
 

Definition at line 663 of file gdalbridge.h.

#define SRS_PT_SINUSOIDAL   "Sinusoidal"
 

Definition at line 664 of file gdalbridge.h.

#define SRS_PT_STEREOGRAPHIC   "Stereographic"
 

Definition at line 665 of file gdalbridge.h.

#define SRS_PT_SWISS_OBLIQUE_CYLINDRICAL
 

Value:

                                "Swiss_Oblique_Cylindrical"

Definition at line 666 of file gdalbridge.h.

#define SRS_PT_TRANSVERSE_MERCATOR
 

Value:

                                "Transverse_Mercator"

Definition at line 668 of file gdalbridge.h.

#define SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED
 

Value:

                                "Transverse_Mercator_South_Orientated"

Definition at line 670 of file gdalbridge.h.

#define SRS_PT_TUNISIA_MINING_GRID
 

Value:

                                "Tunisia_Mining_Grid"

Definition at line 672 of file gdalbridge.h.

#define SRS_PT_VANDERGRINTEN   "VanDerGrinten"
 

Definition at line 674 of file gdalbridge.h.

#define SRS_UA_DEGREE   "degree"
 

Definition at line 716 of file gdalbridge.h.

#define SRS_UA_DEGREE_CONV   "0.0174532925199433"
 

Definition at line 717 of file gdalbridge.h.

#define SRS_UA_RADIAN   "radian"
 

Definition at line 718 of file gdalbridge.h.

#define SRS_UL_CHAIN   "Chain"
 

Definition at line 711 of file gdalbridge.h.

#define SRS_UL_CHAIN_CONV   "2.0116684023368047"
 

Definition at line 712 of file gdalbridge.h.

#define SRS_UL_FOOT   "Foot (International)"
 

Definition at line 703 of file gdalbridge.h.

#define SRS_UL_FOOT_CONV   "0.3048"
 

Definition at line 704 of file gdalbridge.h.

#define SRS_UL_LINK   "Link"
 

Definition at line 709 of file gdalbridge.h.

#define SRS_UL_LINK_CONV   "0.20116684023368047"
 

Definition at line 710 of file gdalbridge.h.

#define SRS_UL_METER   "Meter"
 

Definition at line 702 of file gdalbridge.h.

#define SRS_UL_NAUTICAL_MILE   "Nautical Mile"
 

Definition at line 707 of file gdalbridge.h.

#define SRS_UL_NAUTICAL_MILE_CONV   "1852.0"
 

Definition at line 708 of file gdalbridge.h.

#define SRS_UL_ROD   "Rod"
 

Definition at line 713 of file gdalbridge.h.

#define SRS_UL_ROD_CONV   "5.02921005842012"
 

Definition at line 714 of file gdalbridge.h.

#define SRS_UL_US_FOOT   "U.S. Foot"
 

Definition at line 705 of file gdalbridge.h.

#define SRS_UL_US_FOOT_CONV   "0.3048006"
 

Definition at line 706 of file gdalbridge.h.

#define SRS_WGS84_INVFLATTENING   298.257223563
 

Definition at line 727 of file gdalbridge.h.

#define SRS_WGS84_SEMIMAJOR   6378137.0
 

Definition at line 726 of file gdalbridge.h.

#define TRUE   1
 

Definition at line 92 of file gdalbridge.h.


Typedef Documentation

typedef void (* CPLErrorHandler)(CPLErr, int, const char*)
 

Definition at line 206 of file gdalbridge.h.

typedef int GBool
 

Definition at line 88 of file gdalbridge.h.

typedef unsigned char GByte
 

Definition at line 87 of file gdalbridge.h.

typedef void* GDALColorTableH
 

Definition at line 234 of file gdalbridge.h.

Referenced by GDALBridgeInitialize().

typedef void* GDALDatasetH
 

Definition at line 231 of file gdalbridge.h.

Referenced by GDALBridgeInitialize().

typedef void* GDALDriverH
 

Definition at line 233 of file gdalbridge.h.

Referenced by GDALBridgeInitialize().

typedef void* GDALMajorObjectH
 

Definition at line 230 of file gdalbridge.h.

typedef void* GDALRasterBandH
 

Definition at line 232 of file gdalbridge.h.

Referenced by GDALBridgeInitialize().

typedef short GInt16
 

Definition at line 85 of file gdalbridge.h.

typedef int GInt32
 

Definition at line 81 of file gdalbridge.h.

typedef unsigned short GUInt16
 

Definition at line 86 of file gdalbridge.h.

typedef unsigned int GUInt32
 

Definition at line 82 of file gdalbridge.h.

typedef void* OGRCoordinateTransformationH
 

Definition at line 236 of file gdalbridge.h.

typedef int OGRErr
 

Definition at line 192 of file gdalbridge.h.

Referenced by GDALBridgeInitialize().

typedef void* OGRSpatialReferenceH
 

Definition at line 235 of file gdalbridge.h.

Referenced by GDALBridgeInitialize().


Enumeration Type Documentation

enum CPLErr
 

Enumeration values:
CE_None  
CE_Log  
CE_Warning  
CE_Failure  
CE_Fatal  

Definition at line 171 of file gdalbridge.h.

00172 {
00173     CE_None = 0,
00174     CE_Log = 1,
00175     CE_Warning = 2,
00176     CE_Failure = 3,
00177     CE_Fatal = 4
00178   
00179 } CPLErr;

enum GDALAccess
 

Enumeration values:
GA_ReadOnly  
GA_Update  

Definition at line 128 of file gdalbridge.h.

00128              {
00129     GA_ReadOnly = 0,
00130     GA_Update = 1
00131 } GDALAccess;

enum GDALColorInterp
 

Types of color interpretation for raster bands.

Enumeration values:
GCI_Undefined  
GCI_GrayIndex   Greyscale
GCI_PaletteIndex   Paletted (see associated color table)
GCI_RedBand   Red band of RGBA image
GCI_GreenBand   Green band of RGBA image
GCI_BlueBand   Blue band of RGBA image
GCI_AlphaBand   Alpha (0=transparent, 255=opaque)
GCI_HueBand   Hue band of HLS image
GCI_SaturationBand   Saturation band of HLS image
GCI_LightnessBand   Lightness band of HLS image
GCI_CyanBand   Cyan band of CMYK image
GCI_MagentaBand   Magenta band of CMYK image
GCI_YellowBand   Yellow band of CMYK image
GCI_BlackBand   Black band of CMLY image

Definition at line 139 of file gdalbridge.h.

Referenced by GDALBridgeInitialize().

00140 {
00141     GCI_Undefined=0,                                      GCI_GrayIndex=1,          GCI_PaletteIndex=2,                         GCI_RedBand=3,                       GCI_GreenBand=4,                        GCI_BlueBand=5,              GCI_AlphaBand=6,                          GCI_HueBand=7,                   GCI_SaturationBand=8,                    GCI_LightnessBand=9,                        GCI_CyanBand=10,                     GCI_MagentaBand=11,                      GCI_YellowBand=12,                       GCI_BlackBand=13
00155 } GDALColorInterp;

enum GDALDataType
 

Pixel data types

Enumeration values:
GDT_Unknown  
GDT_Byte   Eight bit unsigned integer
GDT_UInt16   Sixteen bit unsigned integer
GDT_Int16   Sixteen bit signed integer
GDT_UInt32   Thirty two bit unsigned integer
GDT_Int32   Thirty two bit signed integer
GDT_Float32   Thirty two bit floating point
GDT_Float64   Sixty four bit floating point
GDT_CInt16   Complex Int16
GDT_CInt32   Complex Int32
GDT_CFloat32   Complex Float32
GDT_CFloat64   Complex Float64
GDT_TypeCount  

Definition at line 109 of file gdalbridge.h.

Referenced by GDALBridgeInitialize().

00109              {
00110     GDT_Unknown = 0,        GDT_Byte = 1,         GDT_UInt16 = 2,           GDT_Int16 = 3,      GDT_UInt32 = 4,        GDT_Int32 = 5,        GDT_Float32 = 6,        GDT_Float64 = 7,                        GDT_CInt16 = 8,                        GDT_CInt32 = 9,                      GDT_CFloat32 = 10,                      GDT_CFloat64 = 11,
00122     GDT_TypeCount = 12      /* maximum type # + 1 */
00123 } GDALDataType;

enum GDALPaletteInterp
 

Types of color interpretations for a GDALColorTable.

Enumeration values:
GPI_Gray   Grayscale (in GDALColorEntry.c1)
GPI_RGB   Red, Green, Blue and Alpha in (in c1, c2, c3 and c4)
GPI_CMYK   Cyan, Magenta, Yellow and Black (in c1, c2, c3 and c4)
GPI_HLS   Hue, Lightness and Saturation (in c1, c2, and c3)

Definition at line 158 of file gdalbridge.h.

Referenced by GDALBridgeInitialize().

00159 {                      GPI_Gray=0,  GPI_RGB=1, GPI_CMYK=2,     GPI_HLS=3
00164 } GDALPaletteInterp;

enum GDALRWFlag
 

Enumeration values:
GF_Read  
GF_Write  

Definition at line 133 of file gdalbridge.h.

00133              {
00134     GF_Read = 0,
00135     GF_Write = 1
00136 } GDALRWFlag;

Function Documentation

void* GBGetSymbol ( const char *,
const char * )
 

Referenced by GDALBridgeInitialize(), and MAX_SYMBOL().

int GDALBridgeInitialize ( const char * pszTargetDir,
FILE * fpReportFailure )
 

Definition at line 133 of file gdalbridge.cc.

Referenced by OgcWktToOssimKwl().

00135 {
00136     char    szPath[2048];
00137     void    *pfnTest = NULL;
00138     int     iSOFile;
00139     char        *apszFailed[MAX_SYMBOL];
00140     
00141 /* -------------------------------------------------------------------- */
00142 /*      Do we want to force reporting on?                               */
00143 /* -------------------------------------------------------------------- */
00144     if( fpReportFailure == NULL
00145         && (getenv("CPL_DEBUG") != NULL || getenv("GB_DEBUG") != NULL) )
00146     {
00147         fpReportFailure = stderr;
00148     }
00149 
00150 /* -------------------------------------------------------------------- */
00151 /*      The first phase is to try and find the shared library.          */
00152 /* -------------------------------------------------------------------- */
00153     for( iSOFile = 0;
00154          papszSOFilenames[iSOFile] != NULL && pfnTest == NULL;
00155          iSOFile++ )
00156     {
00157         if( pszTargetDir != NULL )
00158         {
00159             sprintf( szPath, "%s%c%s",
00160                      pszTargetDir, PATH_SEP, papszSOFilenames[iSOFile] );
00161             pfnTest = GBGetSymbol( szPath, "GDALOpen" );
00162         }
00163 
00164         if( pfnTest == NULL && getenv( "GDAL_HOME" ) != NULL )
00165         {
00166             sprintf( szPath,
00167                      "%s%c%s", getenv("GDAL_HOME"),
00168                      PATH_SEP, papszSOFilenames[iSOFile] );
00169             pfnTest = GBGetSymbol( szPath, "GDALOpen" );
00170         }
00171 
00172         if( pfnTest == NULL )
00173         {
00174             sprintf( szPath, papszSOFilenames[iSOFile] );
00175             pfnTest = GBGetSymbol( szPath, "GDALOpen" );
00176         }
00177     }
00178 
00179 /* -------------------------------------------------------------------- */
00180 /*      Did we fail to even find the DLL/.so?                           */
00181 /* -------------------------------------------------------------------- */
00182     if( pfnTest == NULL )
00183     {
00184 
00185         if( fpReportFailure == NULL )
00186             return FALSE;
00187         
00188 
00189         fprintf( fpReportFailure, 
00190                  "GBBridgeInitialize() failed to find an suitable GDAL .DLL/.so file.\n" );
00191         fprintf( fpReportFailure, 
00192                  "The following filenames were searched for:\n" );
00193         
00194         for( iSOFile = 0; papszSOFilenames[iSOFile] != NULL; iSOFile++ )
00195             fprintf( fpReportFailure, "  o %s\n", papszSOFilenames[iSOFile] );
00196 
00197         fprintf( fpReportFailure, "\n" );
00198         fprintf( fpReportFailure, "The following locations were searched:\n" );
00199         
00200         if( pszTargetDir != NULL )
00201             fprintf( fpReportFailure, "  o %s\n", pszTargetDir );
00202         
00203         if( getenv( "GDAL_HOME" ) != NULL )
00204             fprintf( fpReportFailure, "  o %s\n", getenv( "GDAL_HOME" ) );
00205         
00206         fprintf( fpReportFailure, "  o System default locations.\n" );
00207         fprintf( fpReportFailure, "\n" );
00208 
00209         fprintf( fpReportFailure, "\n" );
00210 #ifdef __unix__        
00211         if( getenv("LD_LIBRARY_PATH") != NULL )
00212         {
00213             fprintf( fpReportFailure, 
00214                      "System default locations may be influenced by:\n" );
00215             fprintf( fpReportFailure, 
00216                      "LD_LIBRARY_PATH = %s\n", getenv("LD_LIBRARY_PATH") );
00217         }
00218 #else
00219         if( getenv("PATH") != NULL )
00220         {
00221             fprintf( fpReportFailure, 
00222                      "System default locations may be influenced by:\n" );
00223             fprintf( fpReportFailure, 
00224                      "PATH = %s\n", getenv("PATH") );
00225         }
00226 #endif        
00227         
00228         return FALSE;
00229     }
00230     
00231 /* -------------------------------------------------------------------- */
00232 /*      Start loading functions.                                        */
00233 /* -------------------------------------------------------------------- */
00234     apszFailed[0] = NULL;
00235     
00236     GDALGetDataTypeSize = (int (*)(GDALDataType))
00237         GBGetSymbolCheck( szPath, "GDALGetDataTypeSize", apszFailed );
00238 
00239     GDALAllRegister = (void (*)(void)) 
00240         GBGetSymbolCheck( szPath, "GDALAllRegister", apszFailed );
00241 
00242     GDALCreate = (GDALDatasetH (*)(GDALDriverH, const char *, int, int, int,
00243                                    GDALDataType, char ** ))
00244         GBGetSymbolCheck( szPath, "GDALCreate", apszFailed );
00245 
00246     GDALOpen = (GDALDatasetH (*)(const char *, GDALAccess))
00247         GBGetSymbolCheck( szPath, "GDALOpen", apszFailed );
00248 
00249     GDALGetDriverByName = (GDALDriverH (*)(const char *))
00250         GBGetSymbolCheck( szPath, "GDALGetDriverByName", apszFailed );
00251 
00252     GDALGetDriverShortName = (const char *(*)(GDALDriverH))
00253         GBGetSymbolCheck( szPath, "GDALGetDriverShortName", apszFailed );
00254 
00255     GDALGetDriverLongName = (const char *(*)(GDALDriverH))
00256         GBGetSymbolCheck( szPath, "GDALGetDriverLongName", apszFailed );
00257 
00258     GDALGetDatasetDriver = (GDALDriverH (*)(GDALDatasetH))
00259         GBGetSymbolCheck( szPath, "GDALGetDatasetDriver", apszFailed );
00260 
00261     GDALClose = (void (*)(GDALDatasetH))
00262         GBGetSymbolCheck( szPath, "GDALClose", apszFailed );
00263 
00264     GDALGetRasterXSize = (int (*)(GDALDatasetH))
00265         GBGetSymbolCheck( szPath, "GDALGetRasterXSize", apszFailed );
00266 
00267     GDALGetRasterYSize = (int (*)(GDALDatasetH))
00268         GBGetSymbolCheck( szPath, "GDALGetRasterYSize", apszFailed );
00269 
00270     GDALGetRasterCount = (int (*)(GDALDatasetH))
00271         GBGetSymbolCheck( szPath, "GDALGetRasterCount", apszFailed );
00272 
00273     GDALGetRasterBand = (GDALRasterBandH (*)(GDALDatasetH, int))
00274         GBGetSymbolCheck( szPath, "GDALGetRasterBand", apszFailed );
00275 
00276     GDALGetProjectionRef = (const char *(*)(GDALDatasetH))
00277         GBGetSymbolCheck( szPath, "GDALGetProjectionRef", apszFailed );
00278 
00279     GDALSetProjection = (CPLErr (*)(GDALDatasetH, const char *))
00280         GBGetSymbolCheck( szPath, "GDALSetProjection", apszFailed );
00281 
00282     GDALGetGeoTransform = (CPLErr (*)(GDALDatasetH, double *))
00283         GBGetSymbolCheck( szPath, "GDALGetGeoTransform", apszFailed );
00284 
00285     GDALSetGeoTransform = (CPLErr (*)(GDALDatasetH, double *))
00286         GBGetSymbolCheck( szPath, "GDALSetGeoTransform", apszFailed );
00287 
00288     GDALGetInternalHandle = (void *(*)(GDALDatasetH, const char *))
00289         GBGetSymbolCheck( szPath, "GDALGetInternalHandle", apszFailed );
00290 
00291     GDALGetGCPCount = (int (*)(GDALDatasetH))
00292         GBGetSymbolCheck( szPath, "GDALGetGCPCount", apszFailed );
00293 
00294     GDALGetGCPProjection = (const char *(*)(GDALDatasetH))
00295         GBGetSymbolCheck( szPath, "GDALGetGCPProjection", apszFailed );
00296 
00297     GDALGetGCPs = (const GDAL_GCP *(*)(GDALDatasetH))
00298         GBGetSymbolCheck( szPath, "GDALGetGCPs", apszFailed );
00299 
00300     GDALGetRasterDataType = (GDALDataType (*)(GDALRasterBandH))
00301         GBGetSymbolCheck( szPath, "GDALGetRasterDataType", apszFailed );
00302 
00303     GDALGetRasterBandXSize = (int (*)(GDALRasterBandH))
00304         GBGetSymbolCheck( szPath, "GDALGetRasterBandXSize", apszFailed );
00305 
00306     GDALGetRasterBandYSize = (int (*)(GDALRasterBandH))
00307         GBGetSymbolCheck( szPath, "GDALGetRasterBandYSize", apszFailed );
00308 
00309     GDALGetBlockSize = (void (*)(GDALRasterBandH, int *, int *))
00310         GBGetSymbolCheck( szPath, "GDALGetBlockSize", apszFailed );
00311 
00312     GDALRasterIO = (CPLErr (*)(GDALRasterBandH, GDALRWFlag, int, int, int, int,
00313                                void *, int, int, GDALDataType, int, int ))
00314         GBGetSymbolCheck( szPath, "GDALRasterIO", apszFailed );
00315 
00316     GDALReadBlock = (CPLErr (*)(GDALRasterBandH, int, int, void *))
00317         GBGetSymbolCheck( szPath, "GDALReadBlock", apszFailed );
00318     
00319     GDALWriteBlock = (CPLErr (*)(GDALRasterBandH, int, int, void *))
00320         GBGetSymbolCheck( szPath, "GDALWriteBlock", apszFailed );
00321 
00322     GDALGetOverviewCount = (int (*)(GDALRasterBandH))
00323         GBGetSymbolCheck( szPath, "GDALGetOverviewCount", apszFailed );
00324 
00325     GDALGetOverview = (GDALRasterBandH (*)(GDALRasterBandH, int))
00326         GBGetSymbolCheck( szPath, "GDALGetOverview", apszFailed );
00327 
00328     GDALGetRasterNoDataValue = (double (*)(GDALRasterBandH, int*))
00329         GBGetSymbolCheck( szPath, "GDALGetRasterNoDataValue", apszFailed );
00330 
00331     GDALSetRasterNoDataValue = (CPLErr (*)(GDALRasterBandH, double))
00332         GBGetSymbolCheck( szPath, "GDALSetRasterNoDataValue", apszFailed );
00333 
00334     GDALGetRasterMinimum = (double (*)(GDALRasterBandH, int *))
00335         GBGetSymbolCheck( szPath, "GDALGetRasterMinimum", apszFailed );
00336         
00337     GDALGetRasterMaximum = (double (*)(GDALRasterBandH, int *))
00338         GBGetSymbolCheck( szPath, "GDALGetRasterMaximum", apszFailed );
00339         
00340     GDALComputeRasterMinMax = (void (*)(GDALRasterBandH, int, double *))
00341         GBGetSymbolCheck( szPath, "GDALComputeRasterMinMax", apszFailed );
00342         
00343     GDALGetRasterColorInterpretation = (GDALColorInterp (*)(GDALRasterBandH))
00344         GBGetSymbolCheck( szPath, "GDALGetRasterColorInterpretation", apszFailed );
00345 
00346     GDALGetColorInterpretationName = (const char *(*)(GDALColorInterp))
00347         GBGetSymbolCheck( szPath, "GDALGetColorInterpretationName", apszFailed );
00348 
00349     GDALGetRasterColorTable = (GDALColorTableH (*)(GDALRasterBandH))
00350         GBGetSymbolCheck( szPath, "GDALGetRasterColorTable", apszFailed );
00351 
00352     GDALDecToDMS = (const char *(*)(double, const char *, int ))
00353         GBGetSymbolCheck( szPath, "GDALDecToDMS", apszFailed );
00354 
00355     GDALGetPaletteInterpretation = (GDALPaletteInterp (*)(GDALColorTableH))
00356         GBGetSymbolCheck( szPath, "GDALGetPaletteInterpretation", apszFailed );
00357 
00358     GDALGetPaletteInterpretationName = (const char *(*)(GDALPaletteInterp))
00359         GBGetSymbolCheck( szPath, "GDALGetPaletteInterpretationName", apszFailed );
00360 
00361     GDALGetColorEntryCount = (int (*)(GDALColorTableH))
00362         GBGetSymbolCheck( szPath, "GDALGetColorEntryCount", apszFailed );
00363 
00364     GDALGetColorEntry = (const GDALColorEntry *(*)(GDALColorTableH,int))
00365         GBGetSymbolCheck( szPath, "GDALGetColorEntry", apszFailed );
00366 
00367     GDALGetColorEntryAsRGB = (int (*)(GDALColorTableH,int,
00368                                       GDALColorEntry*))
00369         GBGetSymbolCheck( szPath, "GDALGetColorEntryAsRGB", apszFailed );
00370     
00371     GDALSetColorEntry = (void (*)(GDALColorTableH, int, const GDALColorEntry*))
00372         GBGetSymbolCheck( szPath, "GDALSetColorEntry", apszFailed );
00373 
00374 /* -------------------------------------------------------------------- */
00375 /*      GDALMajorObject                                                 */
00376 /* -------------------------------------------------------------------- */
00377     GDALGetMetadata = (char **(*)(GDALMajorObjectH, const char *))
00378         GBGetSymbolCheck( szPath, "GDALGetMetadata", apszFailed );
00379     
00380     GDALSetMetadata = (CPLErr(*)(GDALMajorObjectH, char **, const char *))
00381         GBGetSymbolCheck( szPath, "GDALSetMetadata", apszFailed );
00382     
00383     GDALGetMetadataItem = (const char *(*)(GDALMajorObjectH, const char *,
00384                                            const char *))
00385         GBGetSymbolCheck( szPath, "GDALGetMetadataItem", apszFailed );
00386 
00387     GDALSetMetadataItem = (CPLErr (*)(GDALMajorObjectH, const char *, 
00388                                       const char *, const char *))
00389         GBGetSymbolCheck( szPath, "GDALSetMetadataItem", apszFailed );
00390     
00391 /* -------------------------------------------------------------------- */
00392 /*      CPL                                                             */
00393 /* -------------------------------------------------------------------- */
00394     CPLErrorReset = (void (*)())
00395         GBGetSymbolCheck( szPath, "CPLErrorReset", apszFailed );
00396 
00397     CPLGetLastErrorNo = (int (*)())
00398         GBGetSymbolCheck( szPath, "CPLGetLastErrorNo", apszFailed );
00399 
00400     CPLGetLastErrorType = (CPLErr (*)())
00401         GBGetSymbolCheck( szPath, "CPLGetLastErrorType", apszFailed );
00402 
00403     CPLGetLastErrorMsg = (const char *(*)())
00404         GBGetSymbolCheck( szPath, "CPLGetLastErrorMsg", apszFailed );
00405 
00406     CPLPushErrorHandler = (void (*)(CPLErrorHandler))
00407         GBGetSymbolCheck( szPath, "CPLPushErrorHandler", apszFailed );
00408 
00409     CPLPopErrorHandler = (void (*)())
00410         GBGetSymbolCheck( szPath, "CPLPopErrorHandler", apszFailed );
00411 
00412 /* -------------------------------------------------------------------- */
00413 /*      OSR API                                                         */
00414 /* -------------------------------------------------------------------- */
00415     OSRNewSpatialReference = (OGRSpatialReferenceH (*)( const char * ))
00416         GBGetSymbolCheck( szPath, "OSRNewSpatialReference", apszFailed );
00417 
00418     OSRCloneGeogCS = (OGRSpatialReferenceH (*)(OGRSpatialReferenceH))
00419         GBGetSymbolCheck( szPath, "OSRCloneGeogCS", apszFailed );
00420 
00421     OSRDestroySpatialReference = (void (*)(OGRSpatialReferenceH))
00422         GBGetSymbolCheck( szPath, "OSRDestroySpatialReference", apszFailed );
00423 
00424     OSRReference = (int (*)(OGRSpatialReferenceH))
00425         GBGetSymbolCheck( szPath, "OSRReference", apszFailed );
00426 
00427     OSRDereference = (int (*)(OGRSpatialReferenceH))
00428         GBGetSymbolCheck( szPath, "OSRDereference", apszFailed );
00429 
00430     OSRImportFromEPSG = (OGRErr (*)(OGRSpatialReferenceH,int))
00431         GBGetSymbolCheck( szPath, "OSRImportFromEPSG", apszFailed );
00432 
00433     OSRImportFromWkt = (OGRErr (*)(OGRSpatialReferenceH,char **))
00434         GBGetSymbolCheck( szPath, "OSRImportFromWkt", apszFailed );
00435 
00436     OSRImportFromProj4 = (OGRErr (*)(OGRSpatialReferenceH,const char *))
00437         GBGetSymbolCheck( szPath, "OSRImportFromProj4", apszFailed );
00438 
00439     OSRExportToWkt = (OGRErr (*)(OGRSpatialReferenceH, char **))
00440         GBGetSymbolCheck( szPath, "OSRExportToWkt", apszFailed );
00441     
00442     OSRExportToPrettyWkt = (OGRErr (*)(OGRSpatialReferenceH, char **, int))
00443         GBGetSymbolCheck( szPath, "OSRExportToPrettyWkt", apszFailed );
00444     
00445     OSRExportToProj4 = (OGRErr (*)(OGRSpatialReferenceH, char **))
00446         GBGetSymbolCheck( szPath, "OSRExportToProj4", apszFailed );
00447     
00448     OSRSetAttrValue = (OGRErr (*)(OGRSpatialReferenceH, const char *, 
00449                                   const char *))
00450         GBGetSymbolCheck( szPath, "OSRSetAttrValue", apszFailed );
00451     
00452     OSRGetAttrValue = (const char *(*)(OGRSpatialReferenceH, const char *,int))
00453         GBGetSymbolCheck( szPath, "OSRGetAttrValue", apszFailed );
00454     
00455     OSRSetLinearUnits = (OGRErr (*)(OGRSpatialReferenceH, const char *,double))
00456         GBGetSymbolCheck( szPath, "OSRSetLinearUnits", apszFailed );
00457     
00458     OSRGetLinearUnits = (double (*)(OGRSpatialReferenceH, char **))
00459         GBGetSymbolCheck( szPath, "OSRGetLinearUnits", apszFailed );
00460     
00461     OSRIsGeographic = (int (*)(OGRSpatialReferenceH))
00462         GBGetSymbolCheck( szPath, "OSRIsGeographic", apszFailed );
00463     
00464     OSRIsProjected = (int (*)(OGRSpatialReferenceH))
00465         GBGetSymbolCheck( szPath, "OSRIsProjected", apszFailed );
00466     
00467     OSRIsSameGeogCS = (int (*)(OGRSpatialReferenceH,OGRSpatialReferenceH))
00468         GBGetSymbolCheck( szPath, "OSRIsSameGeogCS", apszFailed );
00469     
00470     OSRIsSame = (int (*)(OGRSpatialReferenceH,OGRSpatialReferenceH))
00471         GBGetSymbolCheck( szPath, "OSRIsSame", apszFailed );
00472     
00473     OSRSetProjCS = (OGRErr (*)(OGRSpatialReferenceH,const char*))
00474         GBGetSymbolCheck( szPath, "OSRSetProjCS", apszFailed );
00475 
00476     OSRSetWellKnownGeogCS = (OGRErr (*)(OGRSpatialReferenceH, const char *))
00477         GBGetSymbolCheck( szPath, "OSRSetWellKnownGeogCS", apszFailed );
00478 
00479     OSRSetGeogCS = (OGRErr (*)( OGRSpatialReferenceH hSRS,
00480                                 const char * pszGeogName,
00481                                 const char * pszDatumName,
00482                                 const char * pszEllipsoidName,
00483                                 double dfSemiMajor, double dfInvFlattening,
00484                                 const char * pszPMName /* = NULL */,
00485                                 double dfPMOffset /* = 0.0 */,
00486                                 const char * pszUnits /* = NULL */,
00487                                 double dfConvertToRadians /* = 0.0 */ ))
00488         GBGetSymbolCheck( szPath, "OSRSetGeogCS", apszFailed );
00489         
00490     OSRGetSemiMajor = (double (*)(OGRSpatialReferenceH, OGRErr *))
00491         GBGetSymbolCheck( szPath, "OSRGetSemiMajor", apszFailed );
00492 
00493     OSRGetSemiMinor = (double (*)(OGRSpatialReferenceH, OGRErr *))
00494         GBGetSymbolCheck( szPath, "OSRGetSemiMinor", apszFailed );
00495 
00496     OSRGetInvFlattening = (double (*)(OGRSpatialReferenceH, OGRErr *))
00497         GBGetSymbolCheck( szPath, "OSRGetInvFlattening", apszFailed );
00498 
00499     OSRSetAuthority = (OGRErr (*)(OGRSpatialReferenceH, const char *, 
00500                                   const char *, int))
00501         GBGetSymbolCheck( szPath, "OSRSetAuthority", apszFailed );
00502 
00503     OSRSetProjParm = (OGRErr (*)(OGRSpatialReferenceH, const char *, double))
00504         GBGetSymbolCheck( szPath, "OSRSetProjParm", apszFailed );
00505 
00506     OSRGetProjParm = (double (*)(OGRSpatialReferenceH, const char *, 
00507                                  double, OGRErr *))
00508         GBGetSymbolCheck( szPath, "OSRGetProjParm", apszFailed );
00509 
00510     OSRSetUTM = (OGRErr (*)(OGRSpatialReferenceH, int, int))
00511         GBGetSymbolCheck( szPath, "OSRSetUTM", apszFailed );
00512 
00513     OSRGetUTMZone = (int (*)(OGRSpatialReferenceH, int *))
00514         GBGetSymbolCheck( szPath, "OSRGetUTMZone", apszFailed );
00515 
00516     OCTNewCoordinateTransformation = (OGRCoordinateTransformationH 
00517                      (*)(OGRSpatialReferenceH, OGRSpatialReferenceH))
00518         GBGetSymbolCheck( szPath, "OCTNewCoordinateTransformation",apszFailed);
00519 
00520     OCTDestroyCoordinateTransformation = 
00521         (void (*)(OGRCoordinateTransformationH))
00522         GBGetSymbolCheck( szPath, "OCTDestroyCoordinateTransformation",
00523                           apszFailed );
00524 
00525     OCTTransform = (int (*)(OGRCoordinateTransformationH, int, 
00526                             double *, double *, double *))
00527         GBGetSymbolCheck( szPath, "OCTTransform", apszFailed );
00528 
00529 /* -------------------------------------------------------------------- */
00530 /*      Did we fail to find any entry points?                           */
00531 /* -------------------------------------------------------------------- */
00532     if( apszFailed[0] != NULL && fpReportFailure != NULL )
00533     {
00534         int iError;
00535         
00536         fprintf( fpReportFailure, 
00537                  "While a GDAL .DLL/.so was found at `%s'\n"
00538                  "it appears to be missing the following entry points.\n"
00539                  "Consider upgrading to a more recent GDAL library.\n",
00540                  szPath );
00541         
00542         for( iError = 0; apszFailed[iError] != NULL; iError++ )
00543         {
00544             fprintf( fpReportFailure, "  o %s\n", apszFailed[iError] );
00545             free( apszFailed[iError] );
00546         }
00547     }
00548 
00549     return apszFailed[0] == NULL;
00550 }

Variable Documentation

GDAL_ENTRY void (* pGDALComputeRasterMinMax)( GDALRasterBandH, int, double * ) GDAL_NULL
 

Definition at line 411 of file gdalbridge.h.

GDAL_ENTRY const char* (* pGDALDecToDMS)( double, const char *, int ) GDAL_NULL
 

Definition at line 474 of file gdalbridge.h.

GDAL_ENTRY void (* pGDALGetBlockSize)( GDALRasterBandH, int * pnXSize, int * pnYSize ) GDAL_NULL
 

Definition at line 371 of file gdalbridge.h.

GDAL_ENTRY const GDALColorEntry* (* pGDALGetColorEntry)( GDALColorTableH, int ) GDAL_NULL
 

Definition at line 459 of file gdalbridge.h.

GDAL_ENTRY int (* pGDALGetColorEntryAsRGB)( GDALColorTableH, int, GDALColorEntry *) GDAL_NULL
 

Definition at line 462 of file gdalbridge.h.

GDAL_ENTRY int (* pGDALGetColorEntryCount)( GDALColorTableH ) GDAL_NULL
 

Definition at line 456 of file gdalbridge.h.

GDAL_ENTRY const char* (* pGDALGetColorInterpretationName)( GDALColorInterp ) GDAL_NULL
 

Definition at line 419 of file gdalbridge.h.

GDAL_ENTRY GDALRasterBandH (* pGDALGetOverview)( GDALRasterBandH, int ) GDAL_NULL
 

Definition at line 394 of file gdalbridge.h.

GDAL_ENTRY int (* pGDALGetOverviewCount)( GDALRasterBandH ) GDAL_NULL
 

Definition at line 391 of file gdalbridge.h.

GDAL_ENTRY GDALPaletteInterp (* pGDALGetPaletteInterpretation)( GDALColorTableH ) GDAL_NULL
 

Definition at line 450 of file gdalbridge.h.

GDAL_ENTRY const char* (* pGDALGetPaletteInterpretationName)(GDALPaletteInterp) GDAL_NULL
 

Definition at line 453 of file gdalbridge.h.

GDAL_ENTRY GDALColorInterp (* pGDALGetRasterColorInterpretation)( GDALRasterBandH ) GDAL_NULL
 

Definition at line 416 of file gdalbridge.h.

GDAL_ENTRY GDALColorTableH (* pGDALGetRasterColorTable)( GDALRasterBandH ) GDAL_NULL
 

Definition at line 422 of file gdalbridge.h.

GDAL_ENTRY GDALDataType (* pGDALGetRasterDataType)( GDALRasterBandH ) GDAL_NULL
 

Definition at line 368 of file gdalbridge.h.

GDAL_ENTRY double (* pGDALGetRasterMaximum)( GDALRasterBandH, int * ) GDAL_NULL
 

Definition at line 408 of file gdalbridge.h.

GDAL_ENTRY double (* pGDALGetRasterMinimum)( GDALRasterBandH, int * ) GDAL_NULL
 

Definition at line 405 of file gdalbridge.h.

GDAL_ENTRY double (* pGDALGetRasterNoDataValue)( GDALRasterBandH, int * ) GDAL_NULL
 

Definition at line 397 of file gdalbridge.h.

GDAL_ENTRY CPLErr (* pGDALRasterIO)( GDALRasterBandH hRBand, GDALRWFlag eRWFlag, int nDSXOff, int nDSYOff, int nDSXSize, int nDSYSize, void * pBuffer, int nBXSize, int nBYSize, GDALDataType eBDataType, int nPixelSpace, int nLineSpace ) GDAL_NULL
 

Definition at line 375 of file gdalbridge.h.

GDAL_ENTRY CPLErr (* pGDALReadBlock)( GDALRasterBandH, int, int, void * ) GDAL_NULL
 

Definition at line 383 of file gdalbridge.h.

GDAL_ENTRY void (* pGDALSetColorEntry)( GDALColorTableH, int, const GDALColorEntry * ) GDAL_NULL
 

Definition at line 466 of file gdalbridge.h.

GDAL_ENTRY CPLErr (* pGDALSetRasterNoDataValue)( GDALRasterBandH, double ) GDAL_NULL
 

Definition at line 401 of file gdalbridge.h.

GDAL_ENTRY CPLErr (* pGDALWriteBlock)( GDALRasterBandH, int, int, void * ) GDAL_NULL
 

Definition at line 387 of file gdalbridge.h.

GDAL_ENTRY void (* pOCTDestroyCoordinateTransformation)( OGRCoordinateTransformationH ) GDAL_NULL
 

Definition at line 615 of file gdalbridge.h.

GDAL_ENTRY OGRCoordinateTransformationH (* pOCTNewCoordinateTransformation)( OGRSpatialReferenceH hSourceSRS, OGRSpatialReferenceH hTargetSRS ) GDAL_NULL
 

Definition at line 610 of file gdalbridge.h.

GDAL_ENTRY int (* pOCTTransform)( OGRCoordinateTransformationH hCT, int nCount, double *x, double *y, double *z ) GDAL_NULL
 

Definition at line 618 of file gdalbridge.h.

GDAL_ENTRY OGRSpatialReferenceH (* pOSRCloneGeogCS)( OGRSpatialReferenceH ) GDAL_NULL
 

Definition at line 486 of file gdalbridge.h.

GDAL_ENTRY int (* pOSRDereference)( OGRSpatialReferenceH ) GDAL_NULL
 

Definition at line 496 of file gdalbridge.h.

GDAL_ENTRY void (* pOSRDestroySpatialReference)( OGRSpatialReferenceH ) GDAL_NULL
 

Definition at line 490 of file gdalbridge.h.

GDAL_ENTRY OGRErr (* pOSRExportToPrettyWkt)( OGRSpatialReferenceH, char **, int) GDAL_NULL
 

Definition at line 515 of file gdalbridge.h.

GDAL_ENTRY OGRErr (* pOSRExportToProj4)( OGRSpatialReferenceH, char **) GDAL_NULL
 

Definition at line 519 of file gdalbridge.h.

GDAL_ENTRY OGRErr (* pOSRExportToWkt)( OGRSpatialReferenceH, char ** ) GDAL_NULL
 

Definition at line 511 of file gdalbridge.h.

GDAL_ENTRY const char* (* pOSRGetAttrValue)( OGRSpatialReferenceH hSRS, const char * pszName, int iChild ) GDAL_NULL
 

Definition at line 528 of file gdalbridge.h.

GDAL_ENTRY double (* pOSRGetInvFlattening)( OGRSpatialReferenceH, OGRErr * ) GDAL_NULL
 

Definition at line 581 of file gdalbridge.h.

GDAL_ENTRY double (* pOSRGetLinearUnits)( OGRSpatialReferenceH, char ** ) GDAL_NULL
 

Definition at line 536 of file gdalbridge.h.

GDAL_ENTRY double (* pOSRGetProjParm)( OGRSpatialReferenceH hSRS, const char * pszParmName, double dfDefault , OGRErr * ) GDAL_NULL
 

Definition at line 595 of file gdalbridge.h.

GDAL_ENTRY double (* pOSRGetSemiMajor)( OGRSpatialReferenceH, OGRErr * ) GDAL_NULL
 

Definition at line 573 of file gdalbridge.h.

GDAL_ENTRY double (* pOSRGetSemiMinor)( OGRSpatialReferenceH, OGRErr * ) GDAL_NULL
 

Definition at line 577 of file gdalbridge.h.

GDAL_ENTRY int (* pOSRGetUTMZone)( OGRSpatialReferenceH hSRS, int *pbNorth ) GDAL_NULL
 

Definition at line 605 of file gdalbridge.h.

GDAL_ENTRY OGRErr (* pOSRImportFromEPSG)( OGRSpatialReferenceH, int ) GDAL_NULL
 

Definition at line 499 of file gdalbridge.h.

GDAL_ENTRY OGRErr (* pOSRImportFromProj4)( OGRSpatialReferenceH, const char *) GDAL_NULL
 

Definition at line 507 of file gdalbridge.h.

GDAL_ENTRY OGRErr (* pOSRImportFromWkt)( OGRSpatialReferenceH, char ** ) GDAL_NULL
 

Definition at line 503 of file gdalbridge.h.

GDAL_ENTRY int (* pOSRIsGeographic)( OGRSpatialReferenceH ) GDAL_NULL
 

Definition at line 540 of file gdalbridge.h.

GDAL_ENTRY int (* pOSRIsProjected)( OGRSpatialReferenceH ) GDAL_NULL
 

Definition at line 543 of file gdalbridge.h.

GDAL_ENTRY int (* pOSRIsSame)( OGRSpatialReferenceH, OGRSpatialReferenceH ) GDAL_NULL
 

Definition at line 550 of file gdalbridge.h.

GDAL_ENTRY int (* pOSRIsSameGeogCS)( OGRSpatialReferenceH, OGRSpatialReferenceH ) GDAL_NULL
 

Definition at line 546 of file gdalbridge.h.

GDAL_ENTRY OGRSpatialReferenceH (* pOSRNewSpatialReference)( const char * ) GDAL_NULL
 

Definition at line 482 of file gdalbridge.h.

GDAL_ENTRY int (* pOSRReference)( OGRSpatialReferenceH ) GDAL_NULL
 

Definition at line 493 of file gdalbridge.h.

GDAL_ENTRY OGRErr (* pOSRSetAttrValue)( OGRSpatialReferenceH hSRS, const char * pszNodePath, const char * pszNewNodeValue ) GDAL_NULL
 

Definition at line 523 of file gdalbridge.h.

GDAL_ENTRY OGRErr (* pOSRSetAuthority)( OGRSpatialReferenceH hSRS, const char * pszTargetKey, const char * pszAuthority, int nCode ) GDAL_NULL
 

Definition at line 585 of file gdalbridge.h.

GDAL_ENTRY OGRErr (* pOSRSetGeogCS)( OGRSpatialReferenceH hSRS, const char * pszGeogName, const char * pszDatumName, const char * pszEllipsoidName, double dfSemiMajor, double dfInvFlattening, const char * pszPMName , double dfPMOffset , const char * pszUnits , double dfConvertToRadians ) GDAL_NULL
 

Definition at line 562 of file gdalbridge.h.

GDAL_ENTRY OGRErr (* pOSRSetLinearUnits)( OGRSpatialReferenceH, const char *, double ) GDAL_NULL
 

Definition at line 532 of file gdalbridge.h.

GDAL_ENTRY OGRErr (* pOSRSetProjCS)( OGRSpatialReferenceH hSRS, const char * pszName ) GDAL_NULL
 

Definition at line 554 of file gdalbridge.h.

GDAL_ENTRY OGRErr (* pOSRSetProjParm)( OGRSpatialReferenceH, const char *, double ) GDAL_NULL
 

Definition at line 591 of file gdalbridge.h.

GDAL_ENTRY OGRErr (* pOSRSetUTM)( OGRSpatialReferenceH hSRS, int nZone, int bNorth ) GDAL_NULL
 

Definition at line 601 of file gdalbridge.h.

GDAL_ENTRY OGRErr (* pOSRSetWellKnownGeogCS)( OGRSpatialReferenceH hSRS, const char * pszName ) GDAL_NULL
 

Definition at line 558 of file gdalbridge.h.

GDAL_ENTRY void (* pfnCPLErrorReset)() GDAL_NULL
 

Definition at line 208 of file gdalbridge.h.

GDAL_ENTRY const char* (* pfnCPLGetLastErrorMsg)() GDAL_NULL
 

Definition at line 217 of file gdalbridge.h.

GDAL_ENTRY int (* pfnCPLGetLastErrorNo)() GDAL_NULL
 

Definition at line 211 of file gdalbridge.h.

GDAL_ENTRY CPLErr (* pfnCPLGetLastErrorType)() GDAL_NULL
 

Definition at line 214 of file gdalbridge.h.

GDAL_ENTRY void (* pfnCPLPopErrorHandler)() GDAL_NULL
 

Definition at line 223 of file gdalbridge.h.

GDAL_ENTRY void (* pfnCPLPushErrorHandler)( CPLErrorHandler ) GDAL_NULL
 

Definition at line 220 of file gdalbridge.h.

GDAL_ENTRY void (* pfnGDALAllRegister)( void ) GDAL_NULL
 

Definition at line 270 of file gdalbridge.h.

GDAL_ENTRY void (* pfnGDALClose)( GDALDatasetH ) GDAL_NULL
 

Definition at line 319 of file gdalbridge.h.

GDAL_ENTRY GDALDatasetH (* pfnGDALCreate)( GDALDriverH hDriver, const char *, int, int, int, GDALDataType, char ** ) GDAL_NULL
 

Definition at line 273 of file gdalbridge.h.

GDAL_ENTRY int (* pfnGDALGetDataTypeSize)( GDALDataType ) GDAL_NULL
 

Definition at line 125 of file gdalbridge.h.

GDAL_ENTRY GDALDriverH (* pfnGDALGetDatasetDriver)( GDALDatasetH ) GDAL_NULL
 

Definition at line 322 of file gdalbridge.h.

GDAL_ENTRY const char* (* pfnGDALGetDescription)( GDALMajorObjectH ) GDAL_NULL
 

Definition at line 312 of file gdalbridge.h.

GDAL_ENTRY GDALDriverH (* pfnGDALGetDriverByName)( const char * ) GDAL_NULL
 

Definition at line 282 of file gdalbridge.h.

GDAL_ENTRY const char* (* pfnGDALGetDriverLongName)(GDALDriverH) GDAL_NULL
 

Definition at line 288 of file gdalbridge.h.

GDAL_ENTRY const char* (* pfnGDALGetDriverShortName)(GDALDriverH) GDAL_NULL
 

Definition at line 285 of file gdalbridge.h.

GDAL_ENTRY int (* pfnGDALGetGCPCount)( GDALDatasetH ) GDAL_NULL
 

Definition at line 355 of file gdalbridge.h.

GDAL_ENTRY const char* (* pfnGDALGetGCPProjection)( GDALDatasetH ) GDAL_NULL
 

Definition at line 358 of file gdalbridge.h.

GDAL_ENTRY const GDAL_GCP* (* pfnGDALGetGCPs)( GDALDatasetH ) GDAL_NULL
 

Definition at line 361 of file gdalbridge.h.

GDAL_ENTRY CPLErr (* pfnGDALGetGeoTransform)( GDALDatasetH, double* ) GDAL_NULL
 

Definition at line 345 of file gdalbridge.h.

GDAL_ENTRY void* (* pfnGDALGetInternalHandle)( GDALDatasetH, const char * ) GDAL_NULL
 

Definition at line 351 of file gdalbridge.h.

GDAL_ENTRY char** (* pfnGDALGetMetadata)( GDALMajorObjectH, const char * ) GDAL_NULL
 

Definition at line 295 of file gdalbridge.h.

GDAL_ENTRY const char* (* pfnGDALGetMetadataItem)( GDALMajorObjectH, const char *, const char * ) GDAL_NULL
 

Definition at line 303 of file gdalbridge.h.

GDAL_ENTRY const char* (* pfnGDALGetProjectionRef)( GDALDatasetH ) GDAL_NULL
 

Definition at line 338 of file gdalbridge.h.

GDAL_ENTRY GDALRasterBandH (* pfnGDALGetRasterBand)( GDALDatasetH, int) GDAL_NULL
 

Definition at line 335 of file gdalbridge.h.

GDAL_ENTRY int (* pfnGDALGetRasterBandXSize)( GDALRasterBandH ) GDAL_NULL
 

Definition at line 425 of file gdalbridge.h.

GDAL_ENTRY int (* pfnGDALGetRasterBandYSize)( GDALRasterBandH ) GDAL_NULL
 

Definition at line 428 of file gdalbridge.h.

GDAL_ENTRY int (* pfnGDALGetRasterCount)( GDALDatasetH ) GDAL_NULL
 

Definition at line 331 of file gdalbridge.h.

GDAL_ENTRY int (* pfnGDALGetRasterXSize)( GDALDatasetH ) GDAL_NULL
 

Definition at line 325 of file gdalbridge.h.

GDAL_ENTRY int (* pfnGDALGetRasterYSize)( GDALDatasetH ) GDAL_NULL
 

Definition at line 328 of file gdalbridge.h.

GDAL_ENTRY GDALDatasetH (* pfnGDALOpen)( const char *, GDALAccess ) GDAL_NULL
 

Definition at line 279 of file gdalbridge.h.

GDAL_ENTRY CPLErr (* pfnGDALSetGeoTransform)( GDALDatasetH, double* ) GDAL_NULL
 

Definition at line 348 of file gdalbridge.h.

GDAL_ENTRY CPLErr (* pfnGDALSetMetadata)( GDALMajorObjectH, char **, const char * ) GDAL_NULL
 

Definition at line 299 of file gdalbridge.h.

GDAL_ENTRY CPLErr (* pfnGDALSetMetadataItem)( GDALMajorObjectH, const char *, const char *, const char * ) GDAL_NULL
 

Definition at line 307 of file gdalbridge.h.

GDAL_ENTRY CPLErr (* pfnGDALSetProjection)( GDALDatasetH, const char * ) GDAL_NULL
 

Definition at line 341 of file gdalbridge.h.


Generated at Thu Aug 8 00:06:57 2002 for OSSIM - Open Source Image Map by doxygen1.2.6 written by , © 1997-2001