Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3354,6 +3354,8 @@ def setUp(self): | |
super(TestQgsVectorLayerTransformContext, self).setUp() | ||
self.ctx = QgsCoordinateTransformContext() | ||
self.ctx.addSourceDestinationDatumTransform(QgsCoordinateReferenceSystem(4326), QgsCoordinateReferenceSystem(3857), 1234, 1235) | ||
self.ctx.addCoordinateOperation(QgsCoordinateReferenceSystem(4326), | ||
QgsCoordinateReferenceSystem(3857), 'test') | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
nyalldawson
Author
Collaborator
|
||
|
||
def testTransformContextIsSetInCtor(self): | ||
"""Test transform context can be set from ctor""" | ||
|
@nyalldawson is the previous like (3356) still needed at all ? Shouldn't
addCoordinateOperation
completely replaceaddSourceDestinationDatumTransform
?