世界/国家边界的矢量/SVG 数据?

发布于 2024-09-08 13:56:35 字数 141 浏览 3 评论 0原文

我正在开发一个 OpenGL 应用程序。我需要一个地球旋转的模型(海水为蓝色,陆地为绿色)。我的问题不是处理 OpenGL/图形……而是处理数据。

我在哪里可以获得这些数据? (各国的边界)。如果您还知道我可以在哪里获取每个国家的海拔数据,那就加分了。

I'm developing an OpenGL application. I need to have a model of planet earth spinning around (with the waters in blue, the land in green). My question is not dealing with the OpenGL / graphics ... but with the data.

Where can I get this data? (Of the boundaries of the various countries). Bonus points if you also know where I can get elevation data for each country.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

药祭#氼 2024-09-15 13:56:35

您可以从 NASA 的SRTM 数据获取海拔高度。对于国家/地区边界,我会从 Geocommunity 等网站下载 shp 文件。然后,您可以找到众多开源 shp 文件解析器之一来解析数据。另一种可能的高程数据是 DEM 数据这里讨论有关使用 DEM 数据的内容。您还可以找到来自 NASA 的平铺数据

You can get elevation from SRTM data from NASA. For country boundaries, I would download a shp file from a site like Geocommunity. You then can find one of the many open source shp file parsers to parse the data. Another possiblity for elevation data is DEM data. Here's a discusion on working with DEM data. You can also find tile data from Nasa.

似梦非梦 2024-09-15 13:56:35

对于边界,您可能需要查看其中之一:

For boundaries you might want to have a look at one of those:

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