[QGIS-Developer] cannot import processing algorithm in 3.6

Raymond Nijssen r.nijssen at terglobo.nl
Wed Mar 20 22:59:28 PDT 2019


>      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


More information about the QGIS-Developer mailing list