Overpass query:
show query
–
Overpass Turbo
[timeout:300][out:json];
(
node(around:1000,41.52175,-8.49758)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,41.52175,-8.49758)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,41.52175,-8.49758)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,41.52175,-8.49758)[heritage][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,41.52175,-8.49758)[heritage][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,41.52175,-8.49758)[heritage][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,41.52175,-8.49758)[military][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,41.52175,-8.49758)[military][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,41.52175,-8.49758)[military][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,41.52175,-8.49758)[historic=castle][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,41.52175,-8.49758)[historic=castle][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,41.52175,-8.49758)[historic=castle][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,41.52175,-8.49758)[historic=heritage][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,41.52175,-8.49758)[historic=heritage][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,41.52175,-8.49758)[historic=heritage][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,41.52175,-8.49758)[place=locality][name];
way(around:1000,41.52175,-8.49758)[place=locality][name];
rel(around:1000,41.52175,-8.49758)[place=locality][name];
node(around:1000,41.52175,-8.49758)["protect_class"="22"][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,41.52175,-8.49758)["protect_class"="22"][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,41.52175,-8.49758)["protect_class"="22"][~"^(addr:housenumber|.*name.*)$"~".",i];
);
out center tags;