Hello everybody,
I try to create a request to find all junction next to way which has the tag landuse=meadow in a certain radius.
// Find nodes up to 1000m around a point
node(around:1000,49.0809183333 ,9.2923300000)
->.aroundnodes;
way(bn.aroundnodes)["junction"]["roundabout"]["landuse"="meadow"]->.allways;
// determine nodes belonging to found ways
node(w.allways)->.waynodes;
(
// determine intersection of all ways' nodes and nodes around center point
node.waynodes.aroundnodes;
// and return ways (intersection is just a workaround for a bug)
way.allways.allways;
);
out;
Where is my mistake? Help is much appreciated.