def init_geometry(self): geometry = QgsGeometry.fromWkt(self.acquisition.footprint_wkt) self.setGeometry(geometry)