在多个请求中访问集的边界 - overpass API

问题描述

我有 2 个通过信号调用发送到立交桥服务器的立交桥请求,如下所示:

[out:json];

(

way["highway"~"."](around:150,SOME_LAT,SOME_LNG);

)->.bounds_highways;

out geom 1;

out count;

(

  way[highway~"^(motorway|trunk|primary|secondary|tertiary|(motorway|trunk|primary|secondary)_link)$"](bBox.bounds_highways)->.major_intersections;

  way[highway~"^(unclassified|residential|living_street|service)$"](bBox.bounds_highways)->.minor_intersections;

  node(w.major_intersections)(w.minor_intersections);

);

out geom 1;

在第二个请求部分中,我试图访问第一部分返回的 bounds 字段,但没有成功。

有办法吗?

谢谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)