如何从与至少一个标签的关系中提取所有节点和方式?
我正在使用立交桥来创建一些查询。
我的目标是在一个框中搜索,即类型多重法的所有关系。从我想提取至少一个标签的所有可能的方式和节点项目中。
到目前为止,我能够显示所有的多重法:
[bbox: 48.18329,16.3765,48.18466,16.37787];
rel["type" = "multipolygon"] -> .relation;
way(r.relation);
(._;>>;);
/*end of auto repair*/
out body;
但是我完全不知道如何提取至少一个标签的所有节点和项目。节点也一样。
您知道实现这项任务的聪明而优雅的解决方案吗?
I am using overpass to create some queries.
My goal is to search within a box, all the relationships of type multipolygon. From those I want to extract all the possible way and node items which have at least one tag.
So far I was able to display all the the multipolygons like so:
[bbox: 48.18329,16.3765,48.18466,16.37787];
rel["type" = "multipolygon"] -> .relation;
way(r.relation);
(._;>>;);
/*end of auto repair*/
out body;
However I totally have no clue how to extract all the nodes and items with at least one tag. Same thing for the nodes.
Do you know a smart and elegant solution to achieve this task?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我能够按照以下方式实现我的目标:
此外,如果您想滤除其他一些方法,请使用以下代码:
希望它也对他人有所帮助。
I was able to achieve my goal the following way:
In addition if you want to filter out some other ways just use the following code:
Hope it helps somebody else as well.