2
votes
Accepted
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
Related Tags
error × 931qgis × 389
python × 97
raster × 66
r × 57
google-earth-engine × 56
qgis-plugins × 54
grass-gis × 47
arcgis-desktop × 45
gdal × 45
shapefile × 37
qgis-3 × 33
coordinate-system × 32
postgis × 31
installation × 27
polygon × 25
postgresql × 24
qgis-2 × 24
pyqgis × 22
geoserver × 22
qgis-processing × 22
arcpy × 21
export × 19
import × 19
geometry × 17