How to properly query a node in overpass-turbo.eu?

Hello,
I was wondering if someone can help me to properly query the circumference of a tree, on overpass-turbo.eu.

I took a look at the example code provided at overpass-turbo.eu. For example, the following code works without issues, and it finds all trees which have diameter 2.5:

/*
This has been generated by the overpass-turbo wizard.
*/
[out:json][timeout:25];
// gather results
(
  // query part for: “roof:shape”
  node["circumference"="0.25"]({{bbox}});
);
// print results
out body;
>;
out skel qt;

But I would like to query all trees which have any circumference (2.5, 1, 3… what ever). How can I do that?
I tried using “*” as the value:

node["circumference"="*"]({{bbox}});

But in that case, overpass-turbo simply does not find any nodes.
Any help would be welcomed on this.
Thank you in advance for the help.

2 Likes

try
node["circumference"]({{bbox}});

4 Likes

Thank you very much @PHerison ! Your solution worked perfectly:

/*
This has been generated by the overpass-turbo wizard.
*/
[out:json][timeout:25];
// gather results
(
  // query part for: “roof:shape”
  node["circumference"]({{bbox}});
);
// print results
out body;
>;
out skel qt;

You can also use the wizard on overpass-turbo.eu for this.
If you enter circumference=* and type:node into the wizard it will give you the same Overpass-query as @PHerison

2 Likes

And to explain what is going on: that was searching for ones with * as literal value, not as a wildcard.

1 Like

Thank you very much both @Shaun_das_Schaf and @Mateusz_Konieczny for the additional help!

1 Like