【发布时间】:2018-12-21 04:25:09
【问题描述】:
我有一个查询返回多个ways。我想找到与这些方式中出现的某些条件匹配的nodes。请注意,我感兴趣的节点 不 构成路本身的一部分,但确实出现在路的范围内。此外,并非所有路都有对应的区域,因此使用区域搜索并非在所有情况下都有效。
我有一个找到 95677318 路的最小示例,我希望能够找到节点 1552949334:
(
way({{bbox}})["man_made"="lighthouse"];
)->.searchArea;
/*doesn't work:*/
/*node(area.searchArea)["seamark:name"];*/
/*recur down and find node directly, just for the purpose of this question*/
(
.searchArea;>;
node({{bbox}})["seamark:name"];
);
out;
【问题讨论】:
标签: openstreetmap overpass-api