I have two QGIS layers. Layer 1 has a floor plan with an attribute field holding feature types, e.g., wall, corridor etc. Layer 2 consists only the lines drawn between door centroids. I want to query the lines in Layer 1, which cross a wall or corridor from Layer 2, then delete these lines.
How would this be done using QGIS?
This is what I have:
and this is what I want to have:

