def toLines(geom):
return QgsGeometry(geom.get().boundary())
(Using
https://qgis.org/pyqgis/master/core/QgsAbstractGeometry.html#qgis.core.QgsAbstractGeometry.boundary
)
Nyall
Thanks Nyall, that works!
I will try tomorrow.
One last question, it seems to me like the old code is working again in
3.7. Can you confirm that?
Shouldn't be -- maybe you have a leftover .py file here?
Indeed. I did a clean install and it is not working in my 3.7 anymore.
Regards,
Raymond
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer