Nyall Dawson
2b6c3c1db2
Fix PyQGIS QgsLineString constructor only accepts lists of QgsPoint,
...
not QgsPointXY as indicated by the documentation
Also add support for constructing QgsLineString using arrays of
arrays of floats, given that we're having to hand-roll sip conversion
code anyway!
Now the following is supported:
line = QgsLineString([[1,2], [3,4], [5,6]])
which is much nicer and more "pythonic" then the explicit
QgsPoint/QgsPointXY sequences!
Fixes #43200
2021-05-25 21:07:50 +10:00
..
2020-05-06 08:31:06 +02:00
2021-03-31 10:59:47 +10:00
2020-04-28 02:22:33 +10:00
2020-04-28 02:22:33 +10:00
2021-01-13 11:20:07 +01:00
2020-05-11 11:41:50 +10:00
2020-05-05 23:28:48 +02:00
2020-11-10 06:09:22 +10:00
2020-04-28 02:22:33 +10:00
2020-05-01 10:17:23 +02:00
2021-04-19 12:54:13 +10:00
2020-05-11 11:41:50 +10:00
2020-04-28 02:22:33 +10:00
2020-11-12 07:14:46 +10:00
2020-08-02 13:55:27 +02:00
2020-04-28 02:22:33 +10:00
2021-05-17 09:54:03 +10:00
2020-04-28 02:22:33 +10:00
2020-04-28 02:22:33 +10:00
2020-04-28 02:22:33 +10:00
2020-10-11 12:30:58 +10:00
2020-10-11 12:30:58 +10:00
2020-11-11 23:08:26 +01:00
2020-04-30 06:43:55 +02:00
2020-04-28 02:22:33 +10:00
2020-06-13 16:48:38 +10:00
2021-04-12 13:02:09 +02:00
2020-11-12 07:14:46 +10:00
2020-06-13 16:48:38 +10:00
2021-01-06 16:22:44 +01:00
2021-05-25 21:07:50 +10:00
2020-05-05 22:39:53 +02:00
2020-04-28 02:22:33 +10:00
2020-11-11 23:08:26 +01:00
2020-06-10 12:25:29 +02:00
2021-03-23 15:11:42 +01:00
2020-06-18 21:19:18 +02:00
2020-05-11 15:46:59 +02:00
2020-05-11 11:41:50 +10:00