[timeout:300][out:json]; ( node(around:1000,42.34688,2.40438)[capital][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,42.34688,2.40438)[capital][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,42.34688,2.40438)[capital][~"^(addr:housenumber|.*name.*)$"~".",i]; node(around:1000,42.34688,2.40438)[boundary=administrative][~"^(addr:housenumber|.*name.*)$"~".",i]; way(around:1000,42.34688,2.40438)[boundary=administrative][~"^(addr:housenumber|.*name.*)$"~".",i]; rel(around:1000,42.34688,2.40438)[boundary=administrative][~"^(addr:housenumber|.*name.*)$"~".",i]; node(around:1000,42.34688,2.40438)[place=city][name]; way(around:1000,42.34688,2.40438)[place=city][name]; rel(around:1000,42.34688,2.40438)[place=city][name]; node(around:1000,42.34688,2.40438)[place=locality][name]; way(around:1000,42.34688,2.40438)[place=locality][name]; rel(around:1000,42.34688,2.40438)[place=locality][name]; ); out center tags;
found 2 match candidates
administrative centre (Q1306755) | Role:admin_centre, capital |
administrative territorial entity (Q56061) | boundary=administrative |