如何使用 Python 获取高分辨率 google 地图卫星图像?

How can I fetch high-resolution google map satellite image using Python?

我正在使用 Google 地图使用 Python 捕获卫星图像。 我关注了post:。但是,与直接从浏览器查看相比,来自 Python 的图像分辨率较低。

例如,在某个位置,我从 Python 中获取的内容看起来像

但是浏览器在同一位置的视图具有更高的分辨率(尽管不在完全相同的缩放范围内):

Google映射API有如下参数:

'center': position, 
'zoom': str(zoom),
'size': '%dx%d' % (largura, alturaplus),
'maptype': 'satellite',
'sensor': 'false',
'scale': scale

有调分辨率的参数吗? 非常感谢!!

恐怕图像抓取可能违反 Google Maps API 的服务条款。

特别是第 10.1 (a) 节说

No access to APIs or Content except through the Service. You will not access the Maps API(s) or the Content except through the Service. For example, you must not access map tiles or imagery through interfaces or channels (including undocumented Google interfaces) other than the Maps API(s).

第 10.5 (d) 节说

No caching or storage. You will not pre-fetch, cache, index, or store any Content to be used outside the Service, except that you may store limited amounts of Content solely for the purpose of improving the performance of your Maps API Implementation due to network latency (and not for the purpose of preventing Google from accurately tracking usage)

https://developers.google.com/maps/terms?#10-license-restrictions