使用osm2pgsql反向地理编码

时间:2019-01-28 13:55:04

标签: postgresql openstreetmap osm.pbf

您好,我已按照本教程进行操作

https://www.compose.com/articles/geofile-using-openstreetmap-data-in-compose-postgresql-2/

并正确实施数据库。  我正在寻找一个查询,在其中我可以输入经度和纬度,并给出完整的地址。目前此查询效果很好

SELECT * FROM planet_osm_point WHERE amenity = 'restaurant'

0 个答案:

没有答案