I have a layer with several polygons and want to extract the "mid/center-point" of the touching borders/lines of adjacent polygons. Despite trying several methods, I do not know how to achieve what I had wanted.
What I tried recently:
- I used Polygons to lines to convert the polygons to lines
- I then used Explode lines to split the lines at vertices
But Explode lines just splits at all of its vertices. I am thinking that the steps might be to:
- Convert the polygons to lines
- Split the lines at vertices only if there is one or more line touching the vertex (like splitting the lines only where the black dots are as shown in the screenshot below):
- Find the mid-point (point coordinates) of each of the resulting split lines (which would be the red dots below):
What are the steps and algorithms needed to achieve this (extract/get the red dots as shown in the image)?
Update: I tried QChainage plugin but not all common vertices were extracted (like these green circles):