0

I want to search for multiple key types in Overpass Turbo such as "natural," "waterway," "landuse," etc, but I can't figure out how to do it. I tried it like this, but doing so gives me just one of these tags instead of all 3.

 way
  ["landuse"]
  ["waterway"]
  ["natural"]
  (around: 100, 41.410239, -84.017210);
out;
1
  • Have you tried using the wizard overpass provides?
    – Erik
    Feb 7, 2023 at 15:43

1 Answer 1

0

A union operation is needed for this kind of "or" operation (that's the round brackets in line 1 and 5):

(
 way["landuse"](around: 100, 41.410239, -84.017210);
 way["waterway"](around: 100, 41.410239, -84.017210);
 way["natural"](around: 100, 41.410239, -84.017210);
);  
out geom;

As an alternative, you can also use regular expressions for keys:

way[~"^(landuse|waterway|natural)$"~"."](around: 100, 41.410239, -84.017210);
out geom;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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