Re: [Qgis-user] Question About QgsGeometry Static Functions

2018-12-06 Thread C Hamilton
Thanks Nyall. I think I had a misunderstanding in that the XY routines were the preferred method to use unless you have Z/M dimensions. I will look at changing my code. Calvin On Wed, Dec 5, 2018 at 6:06 PM Nyall Dawson wrote: > On Wed, 5 Dec 2018 at 02:52, C Hamilton wrote: > > > > QgsGeometr

Re: [Qgis-user] Question About QgsGeometry Static Functions

2018-12-05 Thread Nyall Dawson
On Wed, 5 Dec 2018 at 02:52, C Hamilton wrote: > > QgsGeometry has the following static functions > > QgsGeometry.fromPolylineXY( list of QgsPointXY) > QgsGeometry.fromMultiPolylineXY( list of QgsPointXY lists) > > If I am working with QgsPoint rather than QgsPointXY there is > > QgsGeometry.fromP

[Qgis-user] Question About QgsGeometry Static Functions

2018-12-04 Thread C Hamilton
QgsGeometry has the following static functions QgsGeometry.fromPolylineXY( list of QgsPointXY) QgsGeometry.fromMultiPolylineXY( list of QgsPointXY lists) If I am working with QgsPoint rather than QgsPointXY there is QgsGeometry.fromPolyline( list of QgsPoint) However there is not a similar mult