In Overpass search, how to prevent child nodes "inheriting" parent properties?

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

[out:csv(::id,::type, ::lat,::lon, name, "addr:city"; true; ",")]
nwr[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 nodes do not have name by themselves, 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?

1 post - 1 participant

Read full topic

Ce sujet de discussion accompagne la publication sur