Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含一些姓名和地址、邮政编码等的数据库
我正在寻找一种方法来显示接近邮政编码的名称。
像根据我的邮政编码向我附近的人展示的东西
我正在寻找一个脚本的想法...
我知道谷歌有一些东西,但它会在 50.000 个条目后收费
谢谢
这是你如何做到的。
在此处下载带有纬度/经度的邮政编码数据库。
在 mysql 中进行查询以使用户接近 x 英里。
幸运的是,有人已经编写了一个库来为您完成所有这些工作。