How can I find objects with the same tag next to each other via overpass-turbo?

This should do the trick.

nwr[amenity=fire_station]({{bbox}})->.a;
foreach.a->.elem(
  nwr.a(around.elem:50);
  (._; - .elem;);
  out meta;
);

Modified from this example in the wiki.

1 Like