[英]Is there a way to retrieve all map features available in overpass QL?
在 Overpass QL 中,您可以过滤特定 map 功能的节点。 像"tourism"="museum"
或"aerialway"="mixed_lift"
。
它们可用于过滤以下内容: https://overpass-turbo.eu/s/1md1
在这里您可以看到所有 map 功能在立交桥 QL 中可用: https://wiki.openstreetmap.org/wiki/Map_features
我的问题是:我是否可以针对https://overpass-api.de/api/interpreter进行 API 调用,以检索所有存在的 map 功能?
OSM 的其他 API 是否可以做到这一点?
我正在做一个项目,我需要将它们全部显示在一个列表中,并且不想手动将它们从 wiki 复制到 csv 文件中。
是的,这样的查询甚至包含在https://overpass-turbo.eu/的示例中。 Select 加载 -> 示例 -> Map 调用。 这将返回以下查询:
/*
This is a simple map call.
It returns all data in the bounding box.
*/
[out:xml];
(
node({{bbox}});
<;
);
out meta;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.