您的位置:首页 > 其它

GDAL综合整理--2:大体结构

2012-04-12 20:45 351 查看

在网上看到这篇文章写得非常全面,而且是中文的,就转过来了,学习一下

其中有部分内容是重复的,不过不影响,非常好的资料

主要转自http://blog.csdn.net/liminlu0314?viewmode=contents



二、大体结构

GDAL使用抽象数据模型(abstract datamodel)来解析它所支持的数据格式,抽象数据模型包括数据集(dataset),坐标系统,仿射地理坐标转换(AffineGeoTransform), 大地控制点(GCPs), 元数据(Metadata),栅格波段(RasterBand),颜色表(ColorTable),子数据集域(Subdatasets Domain),图像结构域(Image_StructureDomain),XML域(XML:Domains)。



GDAL基础类

抽象类

GDALMajorObject类:带有元数据的对象。 GDAL数据处理结构

GDALDdataset类:通常是从一个栅格文件中提取的相关联的栅格波段集合和这些波段的元数据;GDALDdataset也负责所有栅格波段的地理坐标转换(georeferencingtransform)和坐标系定义。   

GDALDriver类:文件格式驱动类,GDAL会为每一个所支持的文件格式创建一个该类的实体,来管理该文件格式。   

GDALDriverManager类:文件格式驱动管理类,用来管理GDALDriver类。



具体描述

Here are the classes, structs, unions andinterfaces with brief descriptions:

以下是类,结构体,联合体和接口及其简要介绍。

_CPLList

列出元素构造。

CPLHTTPResult

Describe the result of a CPLHTTPFetch()call

描述了CPLHTTPFetch()调用的结果

CPLMimePart

Describe a part of a multipart message

描述了部分多部件信息

CPLODBCDriverInstaller

A class providing functions to installor remove ODBC driver

运行安装或移除ODBC驱动的一个类

CPLODBCSession

A class representing an ODBC databasesession

Includes error collection services.

描述了一个ODBC数据库会话的类

CPLODBCStatement

Abstraction for statement, andresultset

statement, and resultset(SQL的相关概念)的抽象

CPLXMLNode

Document node structure

节点结构文档

GDAL_GCP

Ground Control Point

地面控制点

GDALAsyncReader

Class used as a session object forasynchronous requests

用来进行异步请求的会话对象的类

GDALColorEntry

Color tuple

颜色组

GDALColorTable

Acolor table / palette

颜色表/调色盘

GDALDataset

A set of associated raster bands,usually from one file

一套关联栅格波段的集合,通常来自一个文件。

GDALDriver

Format specific driver

格式的具体驱动

GDALDriverManager

Class for managing the registration offile format drivers

管理已注册的文件格式的驱动的类

GDALGridDataMetricsOptions

Data metrics method control options

数据metrics方法的控制选项

GDALGridInverseDistanceToAPowerOptions

Inverse distance to a power methodcontrol options

反距离加权插值方法控制选项

GDALGridMovingAverageOptions

Moving average method control options

移动平均插值法控制选项

GDALGridNearestNeighborOptions

Nearest neighbor method control options

最近邻近点插值法

GDALMajorObject

Object with metadata

元数据对象

GDALPamDataset

A subclass of GDALDataset whichintroduces the ability to save and restore auxilary information (coordinatesystem, gcps, metadata, etc) not supported by a file format via an"auxilary metadata" file with the .aux.xml extension

GDALDataset的一个子类

GDALRasterAttributeTable

Raster Attribute Table container

栅格属性表的容器

GDALRasterBand

A single raster band (or channel)

单个栅格波段(或频段)

GDALRasterBlock

A single raster block in the blockcache

单个栅格区块在区块缓存区

GDALWarpKernel

Low level image warping class

底层图像变形类

GDALWarpOperation

High level image warping class

高层图像变形类

GDALWarpOptions

Warp control options for use withGDALWarpOperation::Initialize()

变形控制选项

OGR体系结构   

OGR包括如下几部分:   

Geometry:类Geometry(包括OGRGeometry等类)封装了OpenGIS的矢量数据模型,并提供了一些几何操作,WKB(Well KnowsBinary)和WKT(Well Known Text)格式之间的相互转换,以及空间参考系统(投影)。   

Spatial Reference:类OGRSpatialReference封装了投影和基准面的定义。   

Feature:类OGRFeature封装了一个完整feature的定义,一个完整的feature包括一个geometry和geometry的一系列属性。   

Feature Definition:类OGRFeatureDefn里面封装了feature的属性,类型、名称及其默认的空间参考系统等。一个OGRFeatureDefn对象通常与一个层(layer)对应。   

Layer:类OGRLayer是一个抽象基类,表示数据源类OGRDataSource里面的一层要素(feature)。   Data Source:类OGRDataSource是一个抽象基类,表示含有OGRLayer对象的一个文件或一个数据库。   

Drivers:类OGRSFDriver对应于每一个所支持的矢量文件格式。类OGRSFDriver由类OGRSFDriverRegistrar来注册和管理。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: