开发者

how to geocode phone number

I have a list of phone numbers with area code prefixes that I want to find a latitude/longitude location for.

Is there a library (ideally Python) or service that can do开发者_如何转开发 this?


You may be able to obtain limited free information (e.g. town) or, for a hefty fee, some relatively more detailed information (address), from various Whitepages-like providers. This should cover landlines as well as, to some degree, mobile (cell) lines. Be aware that in the case of mobile lines the information (billing address at best, BTW, not terminal location) may be sketchy or even misleading (the numbers can be registered to third-party companies which manages fleets of cell phones for businesses -- companies which may be registered at addresses completely different from those of the businesses using the fleet.) You would then have to resolve the street address to latitude/longitide, so it would be a two-step process. As for VoIP, you can read about GEOPRIV.

Take a look inside this whitepages.com sample to see how they expect you to interact with their database (I doubt it's what you want, but it's what they offer.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜