Hot answers tagged

2 votes

New plugin is not working after add new packages that wasn't imported by Plugin Builder

QFileDialog and QMessageBox are in the QtWidgets module. So use: from qgis.PyQt.QtWidgets import QFileDialog, QMessageBox
  • 58.6k
2 votes

Why doesn't terra::spin() work in R?

The help for spin says: Spin (rotate) the geometry of a SpatVector. and what you have is a raster, not vector, which we can see when you read the error message: Error in (function (classes, fdef, ...
  • 58k

Only top scored, non community-wiki answers of a minimum length are eligible