[QGIS-Developer] Question About QgsGeometry Static Functions

C Hamilton adenaculture at gmail.com
Tue Dec 4 08:51:49 PST 2018


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 multi polyline function. Why not?

QgsGeometry.fromMultiPolyline( list of QgsPoint list)

What is the proper way to implement this?

Thanks!!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20181204/7e969bde/attachment.html>


More information about the QGIS-Developer mailing list