[Qgis-developer] GEOS geometry from QgsGeometry with the Python API?

G. Allegri giohappy at gmail.com
Mon Apr 16 05:00:34 EDT 2012


Hi,
I've just realized that the python api does't support the
QgsGeometry.asGeos() method.
I understand that it would require SIP to manage the marshalling and the
bindings to GEOS too, so what is the best way to obtain a GEOS geometry
from the QgsGeoemtry?
I mean, is there something better then passing through the WKB
representation and creating a GEOS instance from python?

giovanni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120416/dfc91ffa/attachment.html


More information about the Qgis-developer mailing list