gpt4 book ai didi

google-maps - Google Maps是否具有像HERE Maps这样的Map Tile API?

转载 作者:行者123 更新时间:2023-12-02 06:14:47 28 4
gpt4 key购买 nike

Google Maps是否具有tile API来接收有关建筑物的元信息?

例如:HERE Maps提供了tile API,以获取有关建筑物的信息。但是数据主要仅在可用的城市中。请参阅:Here Map Tile API

来自HERE Map Tile API的响应如下所示:

{ "metadata" : {
"street labels":[ { "name":"Danziger Straße", "font size":"13", "vertices": [ 38.21, -18.57, 79.17, 4.82, 88.82, 10.34, 121.50, 30.46 ] } ],
"labels":[{ "name": "111", "type":"TEXT", "bounding boxes": [ { "annotation box":[ 146.69, 139.41, 26.62, 16.75 ] } ] }],
"city center labels":[],
"buildings":[ { "id": "1609441356716643099", "sectors": [ { "info": { "bottom height": 0, "height": 6.125 }, "vertices": [ 248, 138.69, 243, 146.91, 231, 174.84, 256, 189.18, 256, 142.78, 219, 197.88, 125, 82.78, 99, 132.09 ], "polygons": [ [ 0, 1, 2, 3, 4], [ 5, 2, 1, 6, 7]], "outlines": [ [ 2, 5, 7, 6, 1, 0, 4 ], [ 3, 2 ]] } ] } ],
"transit stops":[ ],
"POIs":[ ]
}

元数据可用于说明有关建筑物的一些信息,例如长度等。

Google map 可以在所有地方绘制建筑物,请参见此处: Buildings(乡村)。

但是我将如何获得这些元信息?

最佳答案

我们多次提出相同的问题,最后我们得到了答复。 Google推出了一个新的API,您可以在非常特殊的情况下使用它,并且必须证明使用它的合理性。这里是文档:

https://developers.google.com/maps/documentation/tile/#tile_requests

希望有帮助!

关于google-maps - Google Maps是否具有像HERE Maps这样的Map Tile API?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40070304/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com