使用 OpenStreetMap 创建反向地理编码系统的选项

Options to create a reverse geocode system using OpenStreetMap

我需要使用开源地图为我的特定国家/地区创建本地反向地理编码服务。

我的第一个选择是 OpenStreetMap,所以我下载了我所在国家/地区的 PBF 文件。

谁能告诉我如何开始使用这些数据?或其他选择?

好吧,您可以先阅读 wiki, I guess it would be interesting to find out which node / way / relation tags you would use as an input. Apart from that you should have an understanding of the best data structures for the task, I guess you want to perform nearest neighbor queries, so you might need to implement / use an R-Tree 的内容...

已经有各种search engines for OSM available. The most popular one currently is Nominatim。它同时支持地理编码和反向地理编码。