帖子code和半径查找建议 [英] Postcode and radius lookup recommendations

查看:110
本文介绍了帖子code和半径查找建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我期待一个编号为总部设在英国的会员制组织,我们希望做的是提供,以及其他地址的功能是什么,是最接近的成员查找,从网站本身的Web用户部门的网站后。​​

I look after a number of divisional websites for a uk based membership organisation and what we want to do is provide, as well as other address functions, is a closest member lookup to a web user from the websites themselves.

我要填写一些用例:

案例1 :用户将在他们的岗位code,并希望看到所有的成员从他们5/10/15/20/30/40英里半径

Case 1: The user puts in their post code and wants to see all the members in a 5/10/15/20/30/40 mile radius from them

案例2 :成员提出在一个地区(市,县等),并获得在该领域的成员列表

Case 2: The member puts in an area (city, county, etc.) and gets a list of members in that area.

从本质上讲就是我正在寻找的是,我可以code对可编程API来完成:

Essentially what I'm looking for is a programmable API which I can code against to do:


  • 后code查找和(采摘门牌号码,例如后)返回的地址。

  • 搜索后code +半径(5英里,10英里等),并得到了一套适用的工作地点codeS来,然后在数据库加入到会员记录

任何建议?它可以是一个季度更新在服务器上安装,也可以是一个可查询的Web服务。我很开放的建议。

Any recommendations? It can be a quarterly update install on the server, it can be a queryable web service. I'm open to suggestions.

在此先感谢

修改没有忘记这一点;别的东西已经被扔进工作中的组合和这已经到了脑后。当谈到重新煮沸会更新(锅沸腾的意见applogies: - ))

Edit Not forgotten about this; something else has been thrown into the mix at work and this has gone onto the back burner. Will update when it comes back to the boil (applogies for the pan boiling comments :-))

推荐答案

更​​新:我刚才看到的的 BBC新闻网站,邮政code数据将从本月免费。鉴于这种情况,我会用这个数据。我会看看原料药到这个数据库。

Update: I just saw on the BBC News site that the PostCode Data will be Free from this month. In light of this, I would use this data. I would have a look for APIs to this database.

previous答案:英国邮报code数据通过的皇家邮政。这种带有对每个岗位code LNG纬度数据。皇家邮政的数据库的proprietry本质是颇有争议。请参见这个网站获取更多信息的。结果
  说了这么多,你可以使用谷歌地图API来做到这一点。用户可以在他们居住在地图上输入地方销,你可以捕捉的液化天然气和纬度。它不会给你上面指定的一切。

Previous answer: UK Post Code data is supplied at SIGNIFICANT cost by the Royal Mail. This comes with Lng Lat data for each postcode. The proprietry nature of the Royal Mail's database is quite controversial. See this site for more info.
Having said that, you could use Google Maps Api to do this. Users could enter place a pin on the map where they live and you could capture the Lng and Lat of that. It won't give you everything you specified above.

下面是关于谷歌地址解析API

这篇关于帖子code和半径查找建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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