Hello,
I have encountered a problem with requesting a lot of data from specific time points. I am collecting data for the number of supermarkets in each region in Germany, for the last 6 years. I’ve done this for gas stations already, and it worked fine, requesting each year at once. For supermarkets only 2022 worked, for the other years the number of requests is too high and the request cancels.
[out:csv( "ref:nuts:3", name, total, nodes, ways, relations )][date:"2022-07-01T00:00:00Z"][timeout:9000];
//All NUTS 3 regions in Germany
area["ref:nuts:3"~"^DE"];
// Count the supermarkets in each area
foreach->.regio(
// Collect all Nodes, Ways and Relations wth amenity=supermarket in the current area
( node(area.regio)[shop=supermarket];
way(area.regio)[shop=supermarket];
rel(area.regio)[shop=supermarket];);
make count "ref:nuts:3" = regio.set(t[ "ref:nuts:3"]),
name = regio.set(t["name"]),
total = count(nodes) + count(ways) + count(relations),
nodes = count(nodes),
ways = count(ways),
relations = count(relations);
out;
);
I’m only switching the date on top of the code.
Is there any way to split up the request into two? Or anything else I can do?