简体   繁体   English

如何在Google地图或Bing地图上检索建筑物的坐标(长度,宽度,高度)?

[英]How to retrieve the coordinates of the building (length, width, height) on google maps or bing maps?

I wonder if it is possible with google maps or bing maps to retrieve the coordinates of the buildings? 我想知道是否可以使用Google地图或Bing地图检索建筑物的坐标? their positions (latitude and longitude) and height of buildings if possible? 如果可能,它们的位置(经度和纬度)以及建筑物的高度?

If we can recover the angle of view and the perspective used we should be able to calculate the height Approximate not? 如果我们可以恢复使用的视角透视 ,我们应该能够计算出高度近似值吗?

I already searched on the web, but apparently it is not possible to get all this information? 我已经在网上搜索了,但是显然无法获得所有这些信息吗? A thousand thank you 一千谢谢

Preferably in c # ^ ^ 最好在c#^ ^

There are a couple of ways to do this but they are not perfectly accurate and may have legal issues. 有两种方法可以做到这一点,但是它们并不十分准确,并且可能存在法律问题。 Using the Birdseye imagery in Bing Maps gives you an angled view of buildings which technically there is a lot of math that could be done to get the height of the building. 使用Bing Maps中的Birdseye影像,您可以看到建筑物的倾斜视图,从技术上讲,可以做很多数学运算来获得建筑物的高度。 However, using Birdseye imagery to do this is against the terms of use of Bing Maps and is a restriction put in place by the data provider for birds eye imagery. 但是,使用Birdseye图像进行此操作违反了Bing Maps的使用条款,并且是数据提供者对鸟瞰图像的限制。

Another method is to use the old Bing Maps 23D control and mouse events to get the altitude of the clicked location. 另一种方法是使用旧的Bing Maps 23D控件和鼠标事件来获取单击位置的高度。 I wrote a blog post on this a long time ago here: http://rbrundritt.wordpress.com/2009/10/03/bing-map-3d-altitude-extraction-via-mouse-click/ 我很久以前在这里写过一篇博客文章: http : //rbrundritt.wordpress.com/2009/10/03/bing-map-3d-altitude-extraction-via-mouse-click/

Bing Maps has a new 3D map control which is currently in preview as a Windows 8 app. Bing Maps拥有一个新的3D地图控件,当前可作为Windows 8应用程序预览。 There is no public API at this time but if this is for a proof of concept or demo you could always try playing around with the dll's. 目前没有公共API,但是如果这是用于概念验证或演示,则可以随时尝试使用dll。 Here is a blog post on how to do that: http://sharpgis.net/post/2014/01/28/The-layout-of-an-ExtensionSDK 这是有关如何执行此操作的博客文章: http : //sharpgis.net/post/2014/01/28/The-layout-of-an-ExtensionSDK

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM