How to find multiple objects with same tag around eachother with Overpass Turbo

For example, I want to find only factories with 2 or more chimneys. Theoretically, I could search for a chimney around a chimney.

nwr["man_made"="chimney"]({{bbox}}) -> .a;
nwr["man_made"="chimney"](around.a:10);

But in practice, it is impossible since “.a” does not differ from the second statement. I just will have the very same objects.

Is there any way to search for objects that are NOT around? Or maybe I could somehow exclude all objects that are “around:0” from the result.

3 posts - 2 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/how-to-find-multiple-objects-with-same-tag-around-eachother-with-overpass-turbo/106655