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

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

问题描述

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

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?

我在想象指示方向和风速的 3D 箭头.如果可以加载模型并将其定位到特定的 GPS 位置/仰角,然后将其方向更改为指向特定的方位角/仰角,那么这可能会起作用.

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 地图是 2d 的,因此不支持 3d 对象,事物仅通过纬度和经度定位.但是,您可以轻松创建3d 外观"图像,并使用地图 Api 将其合并到地图中.

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 地球是 3d(纬度、经度、高度),支持通过 kmz 档案加载或通过 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...

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

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/几何图形.html

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

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

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