是否可以在 Google 地图或 Google 地球中显示 3D 数据?

发布于 2024-10-13 09:41:11 字数 438 浏览 3 评论 0原文

我正在尝试找到一种有效的方法来可视化一些现实世界传感器测量不同高度风速的反馈。有谁知道在谷歌地图中显示3D数据是否可行?

我想象着指示方向和风速的 3D 箭头。如果可以加载模型并将其定位到特定的 GPS 位置/高度,然后更改其方向以指向特定的方位角/高度,则可行。

我正在考虑的另一种选择是为每个高度创建一个图像并通过缩放/旋转磁盘来显示箭头。 文档建议您可以在地面上使用覆盖层制作单层,但没有提及将这些图像拉到空中。

我以前玩过谷歌地图,但没有玩过谷歌地球。只是想感受一下这里可能发生的事情。有人尝试过这样的事情吗?

I'm trying to find an effective way to visualise feedback from some real-world sensors measuring wind speeds at various heights. Does anyone know if it's feasible to display 3D data in google maps?

I was imagining 3D arrows indicating direction and wind speed. If it's possible to load a model and position it to a particular GPS position / elevation and then change its orientation to point to a particular azimuth / elevation what could work.

Another alternative I was considering would be to create an image for each height and display the arrow by scaling / rotating the disk. The documentation suggests you could do a single layer at ground level with an overlay but doesn't make any mention of pulling those images up into the air.

I've played with google maps before, but not Google earth. Just trying to get a feel for what might be possible here. Has anyone tried anything like this?

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

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

发布评论

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

评论(1

玩套路吗 2024-10-20 09:41:11

Google 地图是 2d 的,因此不支持 3d 对象,仅通过纬度和经度来定位事物。但是,您可以轻松创建“3D 外观”图像,并使用地图 Api 将其合并到地图中。

Google 地球是 3d(纬度、经度、海拔)的,支持通过 kmz 档案加载或通过 Api 构建的模型和几何图形。使用任何一种方法都相当简单。

您在引用的文档中没有提到“将这些图像拉到空中”的原因是因为该文档涵盖了“地面覆盖物” - 所以它们被固定在地面上......

无论如何,看看几何形状和谷歌地球 API 中的模型部分 - 应该正是您所需要的。

http://code.google.com/apis/earth/documentation/geometries.html

http://earth-api-samples.googlecode .com/svn/trunk/examples/model.html

Google maps is 2d and as such does not support 3d objects, things are located via a latitude and longitude only. However, you could easily create a '3d looking' image and incorporate it in to a map using the maps Api.

Google earth is 3d (latitude, longitude, altitude) and supports models and geometries loaded via kmz archives or constructed via the Api. It is fairly trivial to include using either method.

The reason you see no mention of 'pulling those images up into the air' in the doc you reference is because the document covers 'ground overlays' - so they are fixed to the ground...

Anyhow, take a look at the geometries and models section in the google earth api - should be exactly what you need.

http://code.google.com/apis/earth/documentation/geometries.html

http://earth-api-samples.googlecode.com/svn/trunk/examples/model.html

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