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

发布于 2024-10-08 10:12:35 字数 106 浏览 8 评论 0原文

他们的文档简单而专业。 但他们并没有过多提及这些开源项目之间的关系。 我什么时候应该使用哪一个?以及哪一款适合什么场景呢?

如果您是熟悉这些项目的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一个人的旅程 2024-10-15 10:12:35

所有三个软件包的基本共同点是它们都是数据访问抽象。特别是,它们提供对地理空间数据的访问。一般来说,它们都遵循类似的约定:
- 定义类型和对象的集合
- 定义以一组驱动程序(如 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 常见问题解答中进行了解释,请检查以下问答:

  • 什么是 GDAL?
  • GDAL 代表什么?
  • 这是什么 OGR 东西?
  • OGR 代表什么?

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:

  • What is GDAL?
  • What does GDAL stands for?
  • What is this OGR stuff?
  • What does OGR stands for?
浮华 2024-10-15 10:12:35

简单来说,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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文