convenience (462 pts)
[out:json][timeout:60];
// Define Aomori prefecture
area["name"="้ๆฃฎ็"]["admin_level"="4"]->.aomori;
// Get all conv in Aomori
(
node["shop"="convenience"](area.aomori);
way["shop"="convenience"](area.aomori);
relation["shop"="convenience"](area.aomori);
)->.convs;
// Get supermarkets within 100m of any conv
(
node["shop"="supermarket"](around.convs:100);
way["shop"="supermarket"](around.convs:100);
relation["shop"="supermarket"](around.convs:100);
)->.nearby_sups;
// Get parks within 100m of any supermarket
(
node["leisure"="park"](around.nearby_sups:100);
way["leisure"="park"](around.nearby_sups:100);
relation["leisure"="park"](around.nearby_sups:100);
)->.nearby_parks;
// Output all
(
.nearby_parks;
);
out body;
>;
out skel qt;

Last updated