Bending POINT or MULTIPOINT geometries raises the errors:
\VectorBender\vectorbender.py", line 182, in run
newGeom = QgsGeometry.fromPoint( self.transformer.map(p) )
AttributeError: type object 'QgsGeometry' has no attribute 'fromPoint'
or
\VectorBender\vectorbender.py", line 190, in run
newGeom = QgsGeometry.fromMultiPoint( newListA )
AttributeError: type object 'QgsGeometry' has no attribute 'fromMultiPoint'
That's because these attributes in QGis 3 API changed theyr names; it should be:
line 182: newGeom = QgsGeometry.fromPointXY( self.transformer.map(p) )
line 190: newGeom = QgsGeometry.fromMultiPointXY( newListA )
Bending POINT or MULTIPOINT geometries raises the errors:
\VectorBender\vectorbender.py", line 182, in run newGeom = QgsGeometry.fromPoint( self.transformer.map(p) ) AttributeError: type object 'QgsGeometry' has no attribute 'fromPoint'
or
\VectorBender\vectorbender.py", line 190, in run newGeom = QgsGeometry.fromMultiPoint( newListA ) AttributeError: type object 'QgsGeometry' has no attribute 'fromMultiPoint'
That's because these attributes in QGis 3 API changed theyr names; it should be:
line 182: newGeom = QgsGeometry.fromPointXY( self.transformer.map(p) )
line 190: newGeom = QgsGeometry.fromMultiPointXY( newListA )
Ciao.