如何在 Nominatim 中获取所有地名翻译?

How to get all place name translations in Nominatim?

OpenStreetMap 支持不同的地点名称翻译。例如,对于同一节点,英语中的 "Moscow" 和俄语中的“Москва”。但也有法文、德文、马文译本等。有没有办法在一个请求中获得所有这些翻译?我知道我可以在 "reverse" 请求中使用 "accept_language" 属性,但只会 return 一个翻译,我想在一个请求中获得所有可用的翻译.快速谷歌搜索没有 return 任何结果。谢谢。

使用 osm_typeosm_id 字段检索原始 OSM 元素。

示例:Nominatim query for Moscow will return osm_type: relation and osm_id: 2555133 for the first result. Based on this information we can look at the original OSM element or perform an OSM API query for this element。这将包括所有 name:<lang> 个标签。

注意:确保在 运行 自动查询之前查看 Nominatim usage policy and OSM API usage policy