Open Street Map snippets
Count convenience stores & supermarkets in the City of Treviso
You just have to copy the following code and past into Overpass Turbo and execute it.
Try this snippet on Overpass Turbo
[out:csv(::count, ::"count:nodes", ::"count:ways", ::"count:relations")][timeout:20];
area["admin_level"=8]["boundary"="administrative"]["name"="Treviso"]->.searchArea;
(
//Supermarket
nwr["shop"="supermarket"](area.searchArea);
//Convenience
nwr["shop"="convenience"](area.searchArea);
);
out count;
This will give the following output.
@count @count:nodes @count:ways @count:relations
31 25 6 0