是否可以在Google地图或Google地球中显示3D数据? [英] is it possible to display 3D data in Google Maps or Google Earth?

查看:1156
本文介绍了是否可以在Google地图或Google地球中显示3D数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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



我想象的3D箭头指示方向和风速。如果可以加载模型并将其定位到特定的GPS位置/高程,然后改变其方向以指向特定的方位角/高程,那么可以使用。

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



I以前玩过谷歌地图,但不是谷歌地球。只是试图感受一下这里可能的可能性。有没有人试过类似的东西?

解决方案

谷歌地图是2D的,因此不支持3D对象,东西通过只有经度和纬度。然而,你可以很容易地创建一个'三维看'的图像,并使用地图Api将其合并到地图中。



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



您提到的文档中没有提及将这些图像拉到空中的原因是因为文档覆盖'地面覆盖物' - 因此它们固定在地面上...



无论如何,看看Google Earth API中的几何形状和模型部分 - 应该是正是你需要的。



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



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


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?

解决方案

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

这篇关于是否可以在Google地图或Google地球中显示3D数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆