Hello Matthias,
Just one question :
How many meters high, the statue? :-)
I've stumbled on this problem for three weeks!
Indeed, this is the right code :
/geom2=convert_geometries([//_QgsGeometry_//(feature.geometry()) for
feature in self.iface.activeLayer().selectedFeatures()],geom_output)/
Hi Vincent,
Is it possible that you are hit by the bug in this report [1]
The workaround would by to keep a reference to the encapsulating
feature as long as you need their geometries. (Or possibly to copy the
geometry with g = QgsGeometry( feature.gemetry() ))
Best
Matthias
[1] http://hub.qg
Hi to all,
I'm working with QGIS 2.0.1 on a python plugin to help users enter data
in a Postgis database.
Among others things, this plugin can convert selected features (from
points to polygons, from lines to points, etc...)
_The plugin :_
operation_dialog.py is my main module.
convert_geome