从地图API获取建筑物的高度 [英] Get height of a building from a maps API

查看:5271
本文介绍了从地图API获取建筑物的高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是任何公共地图API(谷歌,微软,openstreet ...),返回顶部的高度为某些点?

It's any public maps API (google, microsoft, openstreet...) that returns the height of the roof for certain points?

想象一下:你请求一些地址如果有的话,API会返回坐标,一些信息和建筑物的高度。

Imagine: you request some address and the API returns the coordinates, some information and the height of the building, if available.

推荐答案

身高标记和各种其他建筑相关标签,如建筑:层您可以从中预测身高。但请注意,目前大多数建筑物都缺乏这些标签,因为它们目前尚未广泛使用。尽管如此,您仍可以尝试使用立交桥API /请求特定地点或区域周围的所有建筑物, 立交桥turbo ,然后查找这些标签。

OpenStreetMap has a height tag and various other building related tags like building:levels from which you could estimate the height. However note that currently most buildings lack those tags as they aren't widely in use so far. Still you could give it a try and request all buildings around a specific point or area using Overpass API / overpass turbo and then look for those tags.

这篇关于从地图API获取建筑物的高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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