I am struggling with my query setup. What i want is a set of nodes and ways (and their related nodes) in a given radius. This is what i have so far:
This returns all the related of nodes of the found ways in that radius. But i don't want nodes that are not in the given radius, even if they are related to said ways. How can i achieve this? Also i am sure there is a more efficient way to use the around-filter (only applying it ones) but i couldn't figure this out either. asked 09 May '22, 12:42 Tibooo |
IIRC the string of punctuation on the line above
out body
gives all child nodes for the dataset under consideration. I imagine you would need to re-filter for distance after this stage, but that might give poor results as a straight section of road passing through the area could have no nodes in the search radius even if it goes directly over the point you're querying.thank you for the reply @InsertUser, i think this is it. i tried to replace the line with another around filter but if i just add another around filter instead it works! (although it seems very hacky)
@Tibooo Could you post your solution for others to learn from.