I am trying to retrieve the geometry of all houses in certain streets, the query below gives the data I am looking for, however just not in the way I would like.
The current query also shows houses that are not located on these streets, this is caused by the fact that I am also applying an ‘environment scan’ of 60 metres for the buildings. How do I get only the buildings that are also linked to the roads found with the first part of the query?
This example yields two streets within 5 metres of the given coordinate (Schimmelpennicklaan and Thorbeckelaan), so I would like the geometry of all houses on these two streets. In the attached image, you can see what is missing/excess.
If you’re somewhere that’s well mapped when it comes to addresses you could potentially search on the addr:street tag to get everything that has that refers to that street. Associated street relations are rarer, but might also be an avenue worth exploring.