【问题标题】:Birds Eye View using Bing Maps API (python)使用 Bing Maps API (python) 的鸟瞰图
【发布时间】:2018-02-14 00:49:27
【问题描述】:

我希望通过 Bing Maps API(使用 Python 3.x)使用​​ BirdsEye (BE) 视图获取位置图像。不幸的是,我无法在 BING API 站点上找到任何有关 BE 视图的相关文档。此外,关于 BirdsEye 是否包含在最新版本的 Maps API 中,也存在相互矛盾的信息。

2 个问题:

1) 有没有人知道或可以指出通过 Bing Maps API 使用 Python 访问 BirdsEye 视图的好例子?

2) 或者,您能否告诉我如何修改以下代码以访问所选位置(在本例中为贝尔维尤华盛顿)所需的 BE 查看图片:

url = "https://dev.virtualearth.net/REST/V1/Imagery/Map/BirdsEye/Bellevue%20Washington?&key=" + bingMapsKey
print(url)
filename = 'maps_default.png'
urllib.request.urlretrieve(url, filename)
I = misc.imread(filename)
plt.imshow(I)
plt.show()

我在 2012 年发现了一个类似的问题,但没有任何相关答案,因此希望其他人可以提供帮助。

【问题讨论】:

    标签: python google-maps bing-maps bing-api


    【解决方案1】:

    Bing Maps 鸟瞰图像在 Bing Maps 交互式地图控件之外不可用。静态 REST API 不提供对这些图像的访问。您将在文档中看到 Birdseye 未列为此服务的图像类型:https://msdn.microsoft.com/en-us/library/ff701724.aspx

    【讨论】:

      猜你喜欢
      • 2023-03-10
      • 1970-01-01
      • 1970-01-01
      • 2021-04-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-03-24
      • 1970-01-01
      相关资源
      最近更新 更多