[Solved] Converting polygons to lines and finding intersection between lines and polygons from another layer using QGIS

Hermetik Asks: Converting polygons to lines and finding intersection between lines and polygons from another layer using QGIS
I am using QGIS 3.16.2 (Hannover) in windows 10.

I have three two different layers of polygons.


enter image description here

How do I find the intersection point between the polygons (Pink ones) and the buildings (Violet ones)?

I was thinking first I can make the centerline of the seperated polygons (pink ones). Then I can extend the line to the polygon and find the intersection.

I have tried to use the r.thin from grass, but I in QGIS I cannot create any output. I tried to define the center points of each seperated polygons (Pink ones) and connect them using the point to path. However, there is no order in the points which are created, so it was also not possible.

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.