Castell de la Guàrdia (Q107310937)

  • matcher place: les Valls d'Aguilar (relation 341311)
  • view on Wikidata
  • Overpass query: show queryOverpass Turbo
    [timeout:300][out:json];
    (
        node(around:1000,42.28609,1.23581)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,42.28609,1.23581)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,42.28609,1.23581)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,42.28609,1.23581)[military][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,42.28609,1.23581)[military][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,42.28609,1.23581)[military][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,42.28609,1.23581)[historic=castle][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,42.28609,1.23581)[historic=castle][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,42.28609,1.23581)[historic=castle][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,42.28609,1.23581)[place=locality][name];
        way(around:1000,42.28609,1.23581)[place=locality][name];
        rel(around:1000,42.28609,1.23581)[place=locality][name];
    );
    out center tags;
Wikidata location: 42.2861, 1.2358 view on OSM or edit on OSM

matches

login to upload wikidata tags

no matches found

Search criteria from Wikidata

view with query.wikidata.org

military facility (Q18691599) military
castle (Q23413) historic=castle
building (Q41176) building=yes, building