⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gdal.h

📁 这是我已经编译好的GDAL1.4的所有文件
💻 H
📖 第 1 页 / 共 3 页
字号:
/****************************************************************************** * $Id: gdal.h,v 1.106 2006/12/04 16:43:38 fwarmerdam Exp $ * * Project:  GDAL Core * Purpose:  GDAL Core C/Public declarations. * Author:   Frank Warmerdam, warmerdam@pobox.com * ****************************************************************************** * Copyright (c) 1998, 2002 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. ****************************************************************************** * * $Log: gdal.h,v $ * Revision 1.106  2006/12/04 16:43:38  fwarmerdam * Removed GDALGetRasterMetadata() - should be using GDALGetMetadata() * http://bugzilla.remotesensing.org/show_bug.cgi?id=1375 * * Revision 1.105  2006/10/07 02:00:38  fwarmerdam * added RAT translation to ColorTable, and a few other fixes * * Revision 1.104  2006/09/08 15:27:05  fwarmerdam * fixed type of return dataset list in GDALGetOpenDatasets() * * Revision 1.103  2006/07/13 15:27:14  fwarmerdam * Implement ComputeStatistics method * * Revision 1.102  2005/11/01 22:16:00  fwarmerdam * fix up RAT API (bug 985) * * Revision 1.101  2005/10/28 16:59:24  pnagy * Added VRTDerivedBand support * * Revision 1.100  2005/09/28 21:29:30  fwarmerdam * added RAT documentation * * Revision 1.99  2005/09/24 19:01:52  fwarmerdam * added RAT related functions * * Revision 1.98  2005/09/24 04:18:43  fwarmerdam * added void declaration for GDALRasterAttributeTableH * * Revision 1.97  2005/05/24 18:13:15  dron * Added GDALGetDriverCreationOptionList() function. * * Revision 1.96  2005/05/16 21:34:33  fwarmerdam * Added SetDefaultHistogram * * Revision 1.95  2005/05/11 14:04:08  fwarmerdam * added getdefaulthistogram * * Revision 1.94  2005/04/27 16:28:39  fwarmerdam * added GDALGetRasterStatistics * * Revision 1.93  2005/04/15 18:34:52  fwarmerdam * Added area or point metadata constants. * * Revision 1.92  2005/04/04 15:24:48  fwarmerdam * Most C entry points now CPL_STDCALL * * Revision 1.91  2005/03/16 19:21:35  fwarmerdam * added methods for setting offset/scale * * Revision 1.90  2005/02/23 14:53:43  fwarmerdam * moved version info into gdal_version.h * * Revision 1.89  2005/02/10 04:30:29  fwarmerdam * added support for YCbCr color space * * Revision 1.88  2004/12/02 18:26:07  fwarmerdam * added CPL_DLL specifier on two functions. * * Revision 1.87  2004/11/22 20:06:50  fwarmerdam * Updated to 1.2.5. * * Revision 1.86  2004/11/05 18:00:04  fwarmerdam * Updated to 1.2.4.0. * * Revision 1.85  2004/10/18 17:22:07  fwarmerdam * added GCI_Max * * Revision 1.84  2004/09/25 05:51:03  fwarmerdam * updated to version 1.2.3 * * Revision 1.83  2004/09/16 18:30:13  fwarmerdam * Updated to 1.2.2. * * Revision 1.82  2004/06/24 03:10:49  warmerda * update to GDAL 1.2.1 * * Revision 1.81  2004/04/29 13:42:58  warmerda * added C Offset/Scale entry points * * Revision 1.80  2004/04/04 20:05:37  warmerda * mark as 1.2.0.1 * * Revision 1.79  2004/04/02 17:32:40  warmerda * added GDALGeneralCmdLineProcessor() * * Revision 1.78  2004/03/28 16:01:46  warmerda * added GDALApplyGeoTransform() * * Revision 1.77  2004/03/10 19:18:29  warmerda * updated date * * Revision 1.76  2004/03/01 18:30:44  warmerda * Updated release date. * * Revision 1.75  2004/02/25 09:03:15  dron * Added GDALPackedDMSToDec() and GDALDecToPackedDMS() functions. * * Revision 1.74  2004/02/19 15:55:52  warmerda * updated to 1.2.0 * * Revision 1.73  2004/02/04 21:30:12  warmerda * ensure GDALGetDataTypeByName is exported * * Revision 1.72  2004/01/18 16:43:37  dron * Added GDALGetDataTypeByName() function. */#ifndef GDAL_H_INCLUDED#define GDAL_H_INCLUDED/** * \file gdal.h * * Public (C callable) GDAL entry points. */#include "gdal_version.h"#include "cpl_port.h"#include "cpl_error.h"/* -------------------------------------------------------------------- *//*      Significant constants.                                          *//* -------------------------------------------------------------------- */CPL_C_START/*! Pixel data types */typedef enum {    GDT_Unknown = 0,    /*! Eight bit unsigned integer */           GDT_Byte = 1,    /*! Sixteen bit unsigned integer */         GDT_UInt16 = 2,    /*! Sixteen bit signed integer */           GDT_Int16 = 3,    /*! Thirty two bit unsigned integer */      GDT_UInt32 = 4,    /*! Thirty two bit signed integer */        GDT_Int32 = 5,    /*! Thirty two bit floating point */        GDT_Float32 = 6,    /*! Sixty four bit floating point */        GDT_Float64 = 7,    /*! Complex Int16 */                        GDT_CInt16 = 8,    /*! Complex Int32 */                        GDT_CInt32 = 9,    /*! Complex Float32 */                      GDT_CFloat32 = 10,    /*! Complex Float64 */                      GDT_CFloat64 = 11,    GDT_TypeCount = 12          /* maximum type # + 1 */} GDALDataType;int CPL_DLL CPL_STDCALL GDALGetDataTypeSize( GDALDataType );int CPL_DLL CPL_STDCALL GDALDataTypeIsComplex( GDALDataType );const char CPL_DLL * CPL_STDCALL GDALGetDataTypeName( GDALDataType );GDALDataType CPL_DLL CPL_STDCALL GDALGetDataTypeByName( const char * );GDALDataType CPL_DLL CPL_STDCALL GDALDataTypeUnion( GDALDataType, GDALDataType );/*! Flag indicating read/write, or read-only access to data. */typedef enum {    /*! Read only (no update) access */ GA_ReadOnly = 0,    /*! Read/write access. */           GA_Update = 1} GDALAccess;/*! Read/Write flag for RasterIO() method */typedef enum {    /*! Read data */   GF_Read = 0,    /*! Write data */  GF_Write = 1} GDALRWFlag;/*! Types of color interpretation for raster bands. */typedef enum{    GCI_Undefined=0,    /*! Greyscale */                                      GCI_GrayIndex=1,    /*! Paletted (see associated color table) */          GCI_PaletteIndex=2,    /*! Red band of RGBA image */                         GCI_RedBand=3,    /*! Green band of RGBA image */                       GCI_GreenBand=4,    /*! Blue band of RGBA image */                        GCI_BlueBand=5,    /*! Alpha (0=transparent, 255=opaque) */              GCI_AlphaBand=6,    /*! Hue band of HLS image */                          GCI_HueBand=7,    /*! Saturation band of HLS image */                   GCI_SaturationBand=8,    /*! Lightness band of HLS image */                    GCI_LightnessBand=9,    /*! Cyan band of CMYK image */                        GCI_CyanBand=10,    /*! Magenta band of CMYK image */                     GCI_MagentaBand=11,    /*! Yellow band of CMYK image */                      GCI_YellowBand=12,    /*! Black band of CMLY image */                       GCI_BlackBand=13,    /*! Y Luminance */                                    GCI_YCbCr_YBand=14,    /*! Cb Chroma */                                      GCI_YCbCr_CbBand=15,    /*! Cr Chroma */                                      GCI_YCbCr_CrBand=16,    /*! Max current value */                              GCI_Max=16} GDALColorInterp;/*! Translate a GDALColorInterp into a user displayable string. */const char CPL_DLL *GDALGetColorInterpretationName( GDALColorInterp );/*! Types of color interpretations for a GDALColorTable. */typedef enum {  /*! Grayscale (in GDALColorEntry.c1) */                      GPI_Gray=0,  /*! Red, Green, Blue and Alpha in (in c1, c2, c3 and c4) */  GPI_RGB=1,  /*! Cyan, Magenta, Yellow and Black (in c1, c2, c3 and c4)*/ GPI_CMYK=2,  /*! Hue, Lightness and Saturation (in c1, c2, and c3) */     GPI_HLS=3} GDALPaletteInterp;/*! Translate a GDALPaletteInterp into a user displayable string. */const char CPL_DLL *GDALGetPaletteInterpretationName( GDALPaletteInterp );/* "well known" metadata items. */#define GDALMD_AREA_OR_POINT   "AREA_OR_POINT" #  define GDALMD_AOP_AREA      "Area"#  define GDALMD_AOP_POINT     "Point"/* -------------------------------------------------------------------- *//*      GDAL Specific error codes.                                      *//*                                                                      *//*      error codes 100 to 299 reserved for GDAL.                       *//* -------------------------------------------------------------------- */#define CPLE_WrongFormat        200/* -------------------------------------------------------------------- *//*      Define handle types related to various internal classes.        *//* -------------------------------------------------------------------- */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -