【问题标题】:get building dimensions from API从 API 获取建筑尺寸
【发布时间】:2011-10-11 02:52:33
【问题描述】:

有没有什么方法可以从谷歌地图或类似的 API 中获取建筑物的大致长度和宽度?我基本上想用它来查找输入地址的任何建筑物或区域的大致边界的经纬度坐标。免费的 API 或服务将是首选。

【问题讨论】:

    标签: google-maps-api-3 geolocation latitude-longitude


    【解决方案1】:

    我不这么认为 - 这需要付出巨大的努力才能将大部分地图分类为“是建筑物/不是建筑物”(我猜军方可能有这个,但他们不太可能分享(如果他们有的话))。你可以这样做:

    - geocode address to lat/long
    - grab satellite image of the surroundings
    - try to detect shape in that
    - estimate physical size from zoom+pixel size
    

    我看到了一些问题:

    • 不确定 GMaps 是否允许图像抓取
    • 建筑物可能无法与背景区分开来
    • 地址可能在建筑物外或在两栋建筑物之间进行地理编码
    • 地址可能在多个建筑物之间共享

    【讨论】:

      猜你喜欢
      • 2015-03-13
      • 1970-01-01
      • 2020-02-07
      • 1970-01-01
      • 1970-01-01
      • 2011-08-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多