Overpass query:
show query
–
Overpass Turbo
[timeout:300][out:json];
(
node(around:1000,49.14400,8.77117)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,49.14400,8.77117)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,49.14400,8.77117)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,49.14400,8.77117)[military][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,49.14400,8.77117)[military][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,49.14400,8.77117)[military][~"^(addr:housenumber|.*name.*)$"~".",i];
node(around:1000,49.14400,8.77117)[historic=castle][~"^(addr:housenumber|.*name.*)$"~".",i];
way(around:1000,49.14400,8.77117)[historic=castle][~"^(addr:housenumber|.*name.*)$"~".",i];
rel(around:1000,49.14400,8.77117)[historic=castle][~"^(addr:housenumber|.*name.*)$"~".",i];
);
out center tags;