获取街道上的所有地址-Google Maps Geocoding API [英] Getting all addresses on a street - Google Maps Geocoding API

查看:57
本文介绍了获取街道上的所有地址-Google Maps Geocoding API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的任务是走一条特定的街道并找到该街道上的所有房屋.我输入的是带有城市,邮政编码等的完整地址-除非没有门牌号.所需的输出是该街道上每个房屋的字面列表及其各自的门牌号.(411 Street Dr.,413 Street Dr.)

在提供此功能的Maps/Geocoding API中,我找不到任何东西,甚至找不到类似多边形内所有地址的东西.

唯一真正的解决方案是在大街上猜"门牌号码,并验证它是否是真实地址.为了使其更加准确,可以潜在地利用TIGER数据库.它确实包括街道的地址范围",例如"400-432".

我的问题是:有人知道替代API或提供完整结果(每个地址99%的时间)的其他组合吗?

发出如此多的请求真是太麻烦了,必须将其中的大部分扔进垃圾桶!

PS.Places API在这里无法使用,因为需要的是住宅房屋.

解决方案

Google Maps API似乎并未提供大量的地图数据下载功能.您可以使用这些API来让用户查找地点,但是它们不适合您获取详尽的地图数据集.

也许您可以使用Google Maps API来构建您的应用程序,而您实际上并不需要在每条街道上都拥有所有房屋,从而使每个用户都能找到自己需要的一个地方./p>

My task is to take a specific street and find all of the houses on that street. My input is a complete address with city, zip, etc - except without the house number. The desired output is a literal list of every home on that street and their respective house numbers. (411 Street Dr., 413 Street Dr.)

I can't find anything in the Maps / Geocoding API which provides this functionality, or even something similar like finding all of the addresses within a polygon.

The only real solution is to "guess" house numbers on the street and verify whether not it's a real address. To make this slightly more accurate, the TIGER database could potentially be leveraged. It does include "address ranges" for streets, such as "400 - 432".

My question is: does anybody know of alternate API or another combination which provides complete results (every address 99% of the time)?

It is so burdensome to make that many requests and having to essentially throw most of them in the trash!

PS. The Places API will not work here because the need is residential homes.

解决方案

The Google Maps APIs do not offer bulk download of maps data as you seem to be looking for. You can use the APIs to let users find places, but they are not for you to obtain exhaustive maps data sets.

Maybe you can use the Google Maps APIs to build your application/s in such a way that you don't really need to have all houses in each street, enabling each user to find the one place s/he needs.

这篇关于获取街道上的所有地址-Google Maps Geocoding API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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