Overpass – combine nodes if they are within X meters?

Hey. Please let me know if there’s somewhere else I should go for asking questions about Overpass.

I would like to find all nodes of a specific type within a bounding box, but with one twist from normal: If some nodes are very close to each other (say for example within 30 meters) they should be combined into one. The rest of the nodes should show as normal.

Is this possible? Thanks!

A tool to get data from OSM:


I’m not sure if that is possible. You can definitely find something within a given distance of something else:


Maybe that helps!