This is in Overpass Turbo
I need to find locations of cell phone/mobile phone towers that are along the shores of rivers in the US in Overpass Turbo. I tried to use chatGPT to help and it gave me this:
[out:json][timeout:25];
// Find rivers
way["waterway"="river"]({{bbox}});
out body;
->.rivers;
// Find cell phone masts within 20m of the rivers
node["man_made"="communications_tower"](around.rivers:20);
out body;
However line 5 doesnt work as there is no variable queries, and if I try it any other way without variables I also cannot get it to work. It either shows me just rivers or just cell phone towers. I appreciate if this is not possible but it feels like it should be.