As of v3.10, there is an asPolygon
method for qgis.core.QgsRectangle
.
This runs:
QgsRectangle(1804512.8556, 5453390.58088, 1813512.8556, 5461390.58088).asPolygon()
However, no vector data (i.e. an actual rectangle) appears on-screen in the View.
Maybe all I've done is transpose the inputs and haven't actually created a feature, yes?
What do I need to add/specify to write features to either a temp or shp file? (my end goal is to iterate through records in the csv to create multiple rectangles in a single shp)