1

In QGIS 3.40.7,

I need to extract the coordinates of the 4 corner vertices of a rectangle polygon.

I have rectangle polygons which I split in two using split with lines, this results in two smaller rectangle polygons. Rectangle polygons and the line used to split them

Somehow all of these polygons have an one or two additional vertices on the side that was split or on a corner. I would like to remove these vertices to only use the corner vertices for the coordinates.

Split rectangle polygons and their (extra) vertices

Does anyone have any idea why I get extra vertices when using split with lines and how I can remove these extra vertices in a semi-automated way?

2
  • Are the polygons and the line in the same CRS? Do you need to keep topology? SImpliy deleting vertices could result in changing topology (small gaps between polygons). Commented Jun 10 at 8:01
  • 1
    The polygons and lines are in the same CRS. I think your answer might have given me the answer however. I thought the lines were between two single points but they have multiple vertices as well, the line vertices overlap with the extra polygon vertices. I'll work on the line vertices and retry the process. I'll update this post accordingly, thanks for the response. Commented Jun 10 at 9:30

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.