I tried this for a long time now and don’t know if its even possible.
I need to get the parent way-Object of current position through an api like overpass.
It is possible to get the areas through following code-snippet:
If I want to get the way-Objects I could make the trick by defining a box with following expressions:
But if the Box is to small it doesn’t return the parent way-Object. And it isn’t save that the current position lies over the way-Object.