QGIS Polygon Creation – Creating Square Polygons of Given Length from Single Corner Point in QGIS

Measurementspointpolygonpolygon-creationqgis

I have 30 points, each one represents the SE corner of a 1.5 by 1.5m plot. I want to create polygons to represent these plots.

How do I create square polygons from a corner point and with a specific length?

Best Answer

There is "Vector geometry > Geometry by Expression" tool in Processing Toolbox. You should use in a projected coordinate system.

  • Select "Polygon" as "Output geometry type" option.

  • Click "Expression" button (highlighted blue square)

  • And paste the following expression

    make_rectangle_3points(  
      make_point($x, $y), 
      make_point($x, $y + 1.5),
      make_point($x - 1.5, $y + 1.5)
    )
    

enter image description here

Result:

enter image description here

Related Question