0

I am trying to select all categories of shops for a portion of the UK.

To select just the supermarkets I would use "shop" = "supermarket", and so forth, while to select all categories I have tried "shop" = "*" but no results are returned.

Do you know how the below statements can be fixed to select all categories of shops?


/* This has been generated by the overpass-turbo wizard. The original search was: “shop” */ [out:json][timeout:25]; // gather results ( // query part for: “shop” node"shop" = "*"; );

// print results out body;

; out skel qt;

enter image description here

0

1 Answer 1

2

The correct syntax would be

[out:json][timeout:250];
// gather results
(
  // query part for: “shop=*”
  node["shop"]({{bbox}});
);
// print results
out body;
>;
out skel qt;

I strongly suggest using the wizard to create your request if you're unfamiliar with the overpass-turbo/OSM syntax.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.