User:GeoMechain/Overpass
< User:GeoMechain(Redirected from User:GeoMechain/Overpass queries)
Jump to navigation
Jump to search
[out:csv(::type,::id, name, opening_date,note; true; ",")];
area(3600008636)->.searchArea;
(
nwr(area.searchArea)["highway"="construction"][opening_date]
(if:is_date(t["opening_date"]) &&
date(t["opening_date"])<date("[[:Template:Date:0 days]]"));
nwr(area.searchArea)["landuse"="construction"][opening_date]
(if:is_date(t["opening_date"]) &&
date(t["opening_date"])<date("[[:Template:Date:0 days]]"));
nwr(area.searchArea)["building"="construction"][opening_date]
(if:is_date(t["opening_date"]) &&
date(t["opening_date"])<date("[[:Template:Date:0 days]]"));
nwr(area.searchArea)["railway"="construction"][opening_date]
(if:is_date(t["opening_date"]) &&
date(t["opening_date"])<date("[[:Template:Date:0 days]]"));
);
out center;
area(3601443391)->.searchArea;
(
nwr(area.searchArea)["highway"="construction"][opening_date]
(if:is_date(t["opening_date"]) &&
date(t["opening_date"])<date("[[:Template:Date:0 days]]"));
nwr(area.searchArea)["landuse"="construction"][opening_date]
(if:is_date(t["opening_date"]) &&
date(t["opening_date"])<date("[[:Template:Date:0 days]]"));
nwr(area.searchArea)["building"="construction"][opening_date]
(if:is_date(t["opening_date"]) &&
date(t["opening_date"])<date("[[:Template:Date:0 days]]"));
nwr(area.searchArea)["railway"="construction"][opening_date]
(if:is_date(t["opening_date"]) &&
date(t["opening_date"])<date("[[:Template:Date:0 days]]"));
);
(._;>;);
out meta;
area(3601443391)->.searchArea;
(
nwr(area.searchArea)["highway"="construction"][!"opening_date"];
nwr(area.searchArea)["landuse"="construction"][!"opening_date"];
nwr(area.searchArea)["building"="construction"][!"opening_date"];
nwr(area.searchArea)["railway"="construction"][!"opening_date"];
);
(._;>;);
out meta;
[out:json][bbox:{{bbox}}][timeout:800];
(
nwr["heritage:operator"="mhs"];
)->.monuments;
(
way["building"];
)->.buildings;
(
way.buildings(around.monuments:500);
);
out geom meta;
[out:json][timeout:180];
(
{{geocodeArea:Myanmar}};
)->.searchArea;
(
relation["admin_level"=4](area.searchArea);
);
out center;
France
Communes sans mairies
area[admin_level=6]["name"="Haute-Garonne"]["boundary"="administrative"]->.boundaryarea;
( nwr(area.boundaryarea)["amenity"="townhall"];
>;
) ->.a;
.a is_in -> .b;
area.b["admin_level"=8] -> .bf;
rel(area.boundaryarea)["admin_level"=8];
map_to_area -> .bllf;
(.bllf; - .bf; );
rel(pivot);
(._;>;);
out;
Équipements Enedis avec une orthographe différente de "operator=Enedis"
(
{{geocodeArea:Occitanie}};
)->.searchArea;
(
( node["operator"~"Enedis",i](area.searchArea); - node["operator"="Enedis"](area.searchArea); );
( way["operator"~"Enedis",i](area.searchArea); - way["operator"="Enedis"](area.searchArea); );
);
(._;>;);
out;