jjzjj

Nominatim

全部标签

php - 在 PHP 中使用 Nominatim 进行反向地理编码

我正在尝试在php中执行一些反向地理编码。不幸的是,我遇到了一个错误。$lon=100.753;$lat=13.69362;functiongetAddress($RG_Lat,$RG_Lon){$json="http://nominatim.openstreetmap.org/reverse?format=json&lat=".$RG_Lat."&lon=".$RG_Lon."&zoom=27&addressdetails=1";$jsonfile=file_get_contents($json);$RG_array=json_decode($jsonfile,true);forea

php - Nominatim API中有多少索引排名

我们目前正在安装NominatimAPI,它在排名30(索引),已经索引了大约4天,有人知道有多少排名要索引吗? 最佳答案 有30个0表示最高优先级,30表示最低。Hereisthefulltableofrankmeaning.Andhereisreallygoodexplanationofmeaningofthosenumbersnexttoranks.根据我的经验,排名26(道路/街道)和排名30(“其他”)的加载时间最长。值得注意的是,如果安装在此时(处理排名时)被打断,可以通过以下方式安全地恢复:./utils/setup.