1

I'm still in the processing of learning how to use the OverpassAPI QL syntax in regards to areas.

With the following query I get the forrest areas:

[out:json]
[bbox:{{bbox}}];

( 
  way["landuse"="forest"];
  relation["landuse"="forest"];  
  way["natural"="wood"];
  relation["natural"="wood"];
);

out geom;

With this query I get the nodes I'm looking for inside the area queried before:

[out:json]
[bbox:{{bbox}}];

node[natural=spring];
out;

When I combine those to I don't get any output (in Overpass-Turbo):

[out:json]
[bbox:{{bbox}}];

( 
  way["landuse"="forest"];
  relation["landuse"="forest"];  
  way["natural"="wood"];
  relation["natural"="wood"];
);
map_to_area;
node(area)[natural=spring];

out;

1 Answer 1

1

This feature is not yet available as of release 0.7.55. In case there's no corresponding area available on the Overpass server, this kind of query is simply not feasible.

See https://github.com/drolbr/Overpass-API/issues/77 for details.

1

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.