如何在立交桥 Turbo 中编写具有两个要求的查询?
How to write a query with two requirements in overpass turbo?
我正在尝试检索特定巴士服务的巴士路线。如何在立交桥查询中包含两个键,以便找到特定公交服务的公交路线?例如,我想找到巴士 Svc 3 的巴士路线?
如何包含两个功能:
"route" = "bus"
"name" = "Svc 3"
查询
node["route"="bus",](around:{{radius}},{{geocodeCoords:'country'}});
way["route"="bus"](around:{{radius}},{{geocodeCoords:'country'}});
relation["route"="bus"](around:{{radius}},{{geocodeCoords:'country'}});
参见documentation of the query statement。要指定多个过滤器,只需一个接一个地添加它们:
relation["route"="bus"]["name"="Svc 3"](around:{{radius}},{{geocodeCoords:'country'}});
我正在尝试检索特定巴士服务的巴士路线。如何在立交桥查询中包含两个键,以便找到特定公交服务的公交路线?例如,我想找到巴士 Svc 3 的巴士路线?
如何包含两个功能:
"route" = "bus"
"name" = "Svc 3"
查询
node["route"="bus",](around:{{radius}},{{geocodeCoords:'country'}});
way["route"="bus"](around:{{radius}},{{geocodeCoords:'country'}});
relation["route"="bus"](around:{{radius}},{{geocodeCoords:'country'}});
参见documentation of the query statement。要指定多个过滤器,只需一个接一个地添加它们:
relation["route"="bus"]["name"="Svc 3"](around:{{radius}},{{geocodeCoords:'country'}});