[Qgis-developer] geometry().geometry() not stable ?

Gusthiot Christophe Christophe.Gusthiot at lausanne.ch
Tue Jul 12 01:28:22 PDT 2016


Hi,
I'm on Windows 7 Entreprise.
Using Qgis 2.14.3 from OSGeo4W.

Christophe


________________________________________
De : Qgis-developer [qgis-developer-bounces at lists.osgeo.org] de la part de Matthias Kuhn [matthias at opengis.ch]
Envoyé : mardi 28 juin 2016 07:09
À : qgis-developer at lists.osgeo.org
Objet : Re: [Qgis-developer] geometry().geometry() not stable ?

Hi

On 06/27/2016 03:17 PM, Gusthiot Christophe wrote:
> Hello,
> I'm working on a Python plugin with 3D features. But I have some issues
> with the available methods.
>
> What I'm doing :
>
> - layer->startEditing, to set the layer editable if it's not yet the
> case (asking the user to do it)
> - feature->geometry->geometry, to have the 3D geometry for my feature
> - then I manipulate the geometry
> - layer->changeGeometry, to update the geometry of my feature
> Until the, It works fine...
> - I keep my layer editable, and try to do the same with another feature
> - but : I can do feature->geometry, but feature->geometry->geometry give
> me "Access violation - no RTTI data!"
> - and if I add updateExtents + commitChanges to save my layer, and try
> to do the same again, the feature->geometry->geometry leads to a mini dump

What operating system/distribution are you using? Where did you install
the package from?

Regards
Matthias
_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list