简体   繁体   English

GDAL,FDO和OGR之间有什么关系?

[英]What is relationship between GDAL, FDO and OGR?

Their documentations are simple and professional. 他们的文件简单而专业。 But they don't mention too much about the relationship between these open source projects. 但他们并没有过多提及这些开源项目之间的关系。 When should I use which one? 我什么时候应该使用哪一个? And which one is suitable for what scenario? 哪一个适合什么情况?

If you are a GIS developer who is familiar with these projects, can you explain? 如果您是熟悉这些项目的GIS开发人员,您能解释一下吗?

The fundamental common denominator of all of the three software packages is that they all are data access abstractions . 所有这三个软件包的基本共同点是它们都是数据访问抽象 In particular, they provide access to geospatial data. 特别是,它们提供对地理空间数据的访问。 In general, they all follow similar convention: - define collection of types and objects - define low-level data sources implemented in form of a set of drivers (as named in GDAL/OGR) or providers (as named in FDO) 通常,它们都遵循类似的约定: - 定义类型和对象的集合 - 定义以一组驱动程序(在GDAL / OGR中命名)或提供程序(在FDO中命名)的形式实现的低级数据源

FDO , GDAL and OGR are all implemented in C++ programming language. FDO ,GDAL和OGR都是用C ++编程语言实现的。

Along with similarities, there are many differences. 除了相似之外,还有很多不同之处。 GDAL/OGR gives access to data stored in enormous number of geospatial formats, lots of data processing algorithms and operators. GDAL / OGR可以访问以大量地理空间格式存储的数据,大量数据处理算法和运算符。 FDO provides those features too (interestingly, thanks to integration with GDAL/OGR in some places like FDO Provider for GDAL) but it feels more like a framework , whereas GDAL/OGR feels more like a library . FDO也提供了这些功能(有趣的是,由于在GDAL的FDO Provider等一些地方与GDAL / OGR集成)但感觉更像是一个框架 ,而GDAL / OGR更像是一个

Anyhow, it is not possible to provide you with definitive answer which one fits where better. 无论如何,不​​可能为你提供明确的答案,哪一个适合哪里更好。

You may find Matthew Perry's blog and following discussion helpful: FDO, GDAL/OGR and FME? 您可能会发现Matthew Perry的博客和以下讨论有用: FDO,GDAL / OGR和FME?

Note, GDAL and OGR are bundled together under the umbrella of common software project called simply GDAL . 注意,GDAL和OGR在简称GDAL的通用软件项目的框架下捆绑在一起。 Both names seem to be acronyms and are explained in GDAL FAQ , check the following Q&A: 两个名称似乎都是首字母缩略词,并在GDAL FAQ中进行了解释,请查看以下问答:

  • What is GDAL? 什么是GDAL?
  • What does GDAL stands for? GDAL代表什么?
  • What is this OGR stuff? 这个OGR的东西是什么?
  • What does OGR stands for? OGR代表什么?

In basic terms, GDAL is used for reading, writing and transforming raster data, while OGR can do the same with vector data. 在基本术语中,GDAL用于读取,写入和转换栅格数据,而OGR可以对矢量数据执行相同的操作。 I am not as familiar with FDO, but it appears to be an API used to access (from database sources), manipulate and analyze all kinds of geospatial data, and relies on GDAL and OGR for those purposes. 我对FDO并不熟悉,但它似乎是一个用于访问(来自数据库源),操纵和分析各种地理空间数据的API,并依赖于GDAL和OGR用于这些目的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM