/******************************************************************************
* $Id: gdal.h 23431 2011-11-27 15:02:24Z rouault $
*
* 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.
****************************************************************************/
#ifndef GDAL_H_INCLUDED
#define GDAL_H_INCLUDED
/**
* \file gdal.h
*
* Public (C callable) GDAL entry points.
*/
#ifndef DOXYGEN_SKIP
#include "gdal_version.h"
#include "cpl_port.h"
#include "cpl_error.h"
#endif
/* -------------------------------------------------------------------- */
/* Significant constants. */
/* -------------------------------------------------------------------- */
CPL_C_START
/*! Pixel data types */
typedef enum {
/*! Unknown or unspecified type */ 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 );
/**
* status of the asynchronous stream
*/
typedef enum
{
GARIO_PENDING = 0,
GARIO_UPDATE = 1,
GARIO_ERROR = 2,
GARIO_COMPLETE = 3,
GARIO_TypeCount = 4
} GDALAsyncStatusType;
const char CPL_DLL * CPL_STDCALL GDALGetAsyncStatusTypeName( GDALAsyncStatusType );
GDALAsyncStatusType CPL_DLL CPL_STDCALL GDALGetAsyncStatusTypeByName( const char * );
/*! 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;
const char CPL_DLL *GDALGetColorInterpretationName( GDALColorInterp );
GDALColorInterp CPL_DLL GDALGetColorInterpretationByName( const char *pszName );
/*! 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;
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. */
/* -------------------------------------------------------------------- */
/** Opaque type used for the C bindings of the C++ GDALMajorObject class */
typedef void *GDALMajorObjectH;
/** Opaque type used for the C bindings of the C++ GDALDataset class */
typedef void *GDALDatasetH;
/** Opaque type used for the C bindings of the C++ GDALRasterBand class */
typedef void *GDALRasterBandH;
/** Opaque type used for the C bindings of the C++ GDALDriver class */
typedef void *GDALDriverH;
#ifndef DOXYGEN_SKIP
/* Deprecated / unused */
typedef void *GDALProjDefH;
#endif
/** Opaque type used for the C bindings of the C++ GDALColorTable class */
typedef void *GDALColorTableH;
/** Opaque type used for the C bindings of the C++ GDALRasterAttributeTable class */
typedef void *GDALRasterAttributeTableH;
/** Opaque type used for the C bindings of the C++ GDALAsyncReader class */
typedef void *GDALAsyncReaderH;
/* -------------------------------------------------------------------- */
/* Callback "progress" function. */
/* -------------------------------------------------------------------- */
typedef int (CPL_STDCALL *GDALProgressFunc)(double dfComplete, const char *pszMessage, void *pProgressArg);
int CPL_DLL CPL_STDCALL GDALDummyProgress( double, const char *,
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Gdal 命令行工具(DEM及图像栅格文件处理工具) Gdal_translate 可以将多种不同类型的栅格文件(DEM或图片JPG,JP2,PNG,TIF)进行格式转换如INT16 转float32 Gdal_translate /H可以查询使用的参数 其它的一些Gdal工具如: Gdaldem Gdaltransform Gdalwarp 另外,这些都必须要有gdal19.dll动态链接库一起使用
资源推荐
资源详情
资源评论
收起资源包目录
GDAL-192.rar (82个子文件)
lib
gdal_i.lib 1.08MB
bin
gdalinfo.exe 17KB
gdal_translate.exe 93KB
gdaltransform.exe 45KB
gdalenhance.exe 81KB
testepsg.exe 61KB
nearblack.exe 46KB
gdaldem.exe 86KB
gdalbuildvrt.exe 101KB
gdal_rasterize.exe 56KB
gdalmanage.exe 39KB
ogrtindex.exe 89KB
gdal19.dll 6.71MB
gdal_contour.exe 43KB
gdaltindex.exe 12KB
gdalwarp.exe 67KB
gdallocationinfo.exe 47KB
ogr2ogr.exe 111KB
gdalsrsinfo.exe 106KB
gdaladdo.exe 54KB
ogrinfo.exe 87KB
gdal_grid.exe 97KB
include
cpl_wince.h 2KB
gdalwarper.h 16KB
cpl_win32ce_api.h 3KB
ogrgeomediageometry.h 2KB
cpl_config_extras.h 627B
ogr_attrind.h 4KB
cpl_list.h 3KB
gvgcpfit.h 3KB
ogr_srs_esri_names.h 20KB
cpl_quad_tree.h 4KB
ogr_expat.h 2KB
cpl_hash_set.h 3KB
cpl_minizip_ioapi.h 3KB
gdalwarpkernel_opencl.h 6KB
cpl_minizip_zip.h 10KB
cpl_csv.h 3KB
rawdataset.h 6KB
gdal_proxy.h 16KB
gdal_version.h 698B
gdal_csv.h 2KB
cpl_http.h 3KB
ogr_geos.h 2KB
cpl_vsi.h 11KB
cpl_config.h 3KB
cpl_multiproc.h 5KB
ogr_geometry.h 25KB
swq.h 9KB
ogr_featurestyle.h 19KB
ogr_api.h 24KB
cpl_odbc.h 9KB
gdal_priv.h 34KB
gdaljp2metadata.h 5KB
cpl_port.h 19KB
vrtdataset.h 28KB
ogr_spatialref.h 25KB
cpl_error.h 5KB
cpl_minizip_unzip.h 13KB
ogr_srs_api.h 33KB
cpl_string.h 14KB
gdal_alg.h 18KB
gdal_vrt.h 4KB
cpl_vsi_virtual.h 8KB
gdalgrid.h 5KB
gdal_pam.h 12KB
ogr_p.h 6KB
cpl_time.h 2KB
gdal.h 36KB
gdal_frmts.h 7KB
ogrsf_frmts.h 13KB
cplkeywordparser.h 3KB
cpl_conv.h 12KB
thinplatespline.h 5KB
gdal_rat.h 5KB
ogrpgeogeometry.h 3KB
ogr_feature.h 14KB
cpl_atomic_ops.h 4KB
gdal_alg_priv.h 7KB
ogr_core.h 19KB
memdataset.h 6KB
cpl_minixml.h 6KB
共 82 条
- 1
资源评论
blue_sky_bird
- 粉丝: 79
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于Vue和TypeScript的房地产管理系统前端设计源码
- 基于微信小程序的通用订票系统设计源码
- 基于ThinkPHP的轻量级PHP开发框架设计源码
- 基于CSS的响应式鲜花网站全屏效果设计源码
- 基于JavaScript的访客预约系统设计源码
- 基于Vue和ECharts的工作租房数据可视化系统设计源码
- 1040g0cg310ravpiu6ibg5pg00tsipsln3ju2d0g 2
- 基于Python的SAR图像去噪CNN-NLM设计源码
- redhat6升级到redhat7,过程redhat6.x-> redhat6.10->rehat7.9 主版本最高版本
- 基于Django的流程引擎设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功