mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
more QgsPointXY
This commit is contained in:
parent
22b7498cf8
commit
e5e887f66a
@ -97,8 +97,8 @@ class TestQgsVectorLayerEditBuffer(unittest.TestCase):
|
||||
# add a features with a multi line geometry of not touched lines =>
|
||||
# cannot be forced to be linestring
|
||||
multiline = [
|
||||
[QgsPoint(1, 1), QgsPointXY(2, 2)],
|
||||
[QgsPoint(3, 3), QgsPointXY(4, 4)],
|
||||
[QgsPointXY(1, 1), QgsPointXY(2, 2)],
|
||||
[QgsPointXY(3, 3), QgsPointXY(4, 4)],
|
||||
]
|
||||
f1 = QgsFeature(layer.fields(), 1)
|
||||
f1.setGeometry(QgsGeometry.fromMultiPolyline(multiline))
|
||||
|
Loading…
x
Reference in New Issue
Block a user