Create a overpass-turbo query

Hello everybody,

I want to create a query which search for a highway with several attributes:

In my attend, I tried to get all ways with a highway tag or a leisure tag


// Find nodes up to 100m around center point (center is overpass turbo specific)
node(around:10,49.1259340,9.2101538)->.aroundnodes;

// recurse up to ways with highway = secondary/tertiary
way(bn.aroundnodes)["highway"~"^"] ->.allways;
way(bn.aroundnodes)["leisure"~"^"] ->.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;





Thus I assume you have no more questions.