I'm trying to use the "Rectangles, ovals, diamonds (variable)" processing tool, using QGIS 3.0. One of the fields in my attribute table is a number going from 0 to 359 which is a reference to the "heading" direction of each point (meaning degrees..).
When I try to use this column as the Rotation field in the tool I get an error:
Traceback (most recent call last): File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\qgis\RectanglesOvalsDiamondsVariable.py", line 119, in processAlgorithm self.rectangles(sink, source, width, height, rotation, feedback) File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\qgis\RectanglesOvalsDiamondsVariable.py", line 145, in rectangles feedback.pushInfo(QCoreApplication.translate('RectanglesOvalsDiamondsVariable', 'Feature {} has empty ' NameError: name 'QCoreApplication' is not defined
Execution failed after 0.01 seconds
Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\qgis\RectanglesOvalsDiamondsVariable.py", line 119, in processAlgorithm
self.rectangles(sink, source, width, height, rotation, feedback)
File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\qgis\RectanglesOvalsDiamondsVariable.py", line 145, in rectangles
feedback.pushInfo(QCoreApplication.translate('RectanglesOvalsDiamondsVariable', 'Feature {} has empty '
NameError: name 'QCoreApplication' is not defined
Execution failed after 0.01 seconds
It will accept various other fields as the Rotation field, most being random numbers. I've tried changing the type of my field from double to Integer and Int64 using the Refactoring Fields tool, but still the same issue.
Thanks, Anthony