In Overpass search, why I am getting child nodes along with the actual matches?

I am running a search to find named way objects, like this:

[out:csv(::id,::type, ::lat,::lon, name, "addr:city"; true; ",")];
way[sport=climbing] ["name" ~ "Direct"] (37.7,-122.5,37.8,-122.3);
out center;

and the output looks like this:

498803172,way,37.7653435,-122.4372974,Beaver Street Direct,

so first 3 objects not only don’t have name tag, they are not even a way type! As I understand they are found only because they are part of the 498803172 object that does matches the filter. Is there any way to exclude them from the output?

2 posts - 2 participants

Read full topic

Ce sujet de discussion accompagne la publication sur