User:GeoMechain/Overpass
Jump to navigation
Jump to search
[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;