GDAL、FDO 和 OGR 之间有什么关系?
他们的文档简单而专业。 但他们并没有过多提及这些开源项目之间的关系。 我什么时候应该使用哪一个?以及哪一款适合什么场景呢?
如果您是熟悉这些项目的 GIS 开发人员,您能解释一下吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
所有三个软件包的基本共同点是它们都是数据访问抽象。特别是,它们提供对地理空间数据的访问。一般来说,它们都遵循类似的约定:
- 定义类型和对象的集合
- 定义以一组驱动程序(如 GDAL/OGR 中指定的)或提供程序(如 FDO 中指定的)形式实现的低级数据源
FDO< /a>、GDAL和OGR都是用C++编程语言实现的。
除了相似之处之外,还存在许多差异。 GDAL/OGR 允许访问以大量地理空间格式、大量数据处理算法和运算符存储的数据。 FDO 也提供了这些功能(有趣的是,由于在某些地方与 GDAL/OGR 集成,例如 FDO Provider for GDAL),但感觉更像是一个 框架,而 GDAL/OGR 感觉更像是一个库。
无论如何,不可能为您提供明确的答案,哪一种更适合。
您可能会发现 Matthew Perry 的博客和以下讨论很有帮助:FDO、GDAL/OGR 和 FME?
注意,GDAL 和OGR 被捆绑在一个名为 GDAL 的通用软件项目的保护伞下。这两个名称似乎都是缩写词,并在 GDAL 常见问题解答中进行了解释,请检查以下问答:
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)
FDO, GDAL and OGR are all implemented in C++ programming language.
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. 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.
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?
Note, GDAL and OGR are bundled together under the umbrella of common software project called simply GDAL. Both names seem to be acronyms and are explained in GDAL FAQ, check the following Q&A:
简单来说,GDAL 用于读取、写入和转换栅格数据,而 OGR 可以对矢量数据执行相同的操作。我对 FDO 不太熟悉,但它似乎是一个用于访问(从数据库源)、操作和分析各种地理空间数据的 API,并依赖 GDAL 和 OGR 来实现这些目的。
In basic terms, GDAL is used for reading, writing and transforming raster data, while OGR can do the same with vector data. 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.