Re: [Qgis-developer] EasyCustomLabeling ported to QGIS 2.0

2014-02-01 Thread RĂ©gis Haubourg
Just a followup, when restoring a memory layer thanks to memory layer saver, we got QpyNullVariant objects, when we had NoneType object on memory layer's creation. Updating the values to None restore the unpinned labels. Just use this layer.changeAttributeValue(myFeatureId, myfieldId, None) I

[Qgis-developer] Labeling issues/fixes

2014-02-01 Thread Larry Shaffer
Hi, I have been mostly absent for the past development cycle, due to family obligations and other work, but am now able to devote the next 2 1/2 weeks to prioritizing, diagnosing and (hopefully) fixing as many labeling issues as I can for the 2.2 release. If you have reported a labeling issue,

Re: [Qgis-developer] EasyCustomLabeling ported to QGIS 2.0

2014-02-01 Thread Chris Crook
I've updated the MemoryLayerSaver plugin to fix this. Basically the problem comes from (I believe) the SIP wrapping around QgsFeature attributes. So for a feature feat with a field 'f', feat.f=None value=feat.f print type(value) prints PyQtNullVariant. The same result (expected in this