[Qgis-developer] Strange behaviour in feature ids when editing PostGIS layer

Jürgen E. Fischer jef at norbit.de
Fri Feb 27 07:57:39 PST 2015


Hi Sandro,

On Fri, 27. Feb 2015 at 16:43:23 +0100, Sandro Santilli wrote:
> Victor, I've been thinking of this problem overnight and thought
> that maybe it could be fixed by having QGIS use UPDATE..RETURNING
> to update the associated key.

And return it where?   In the current vector provider interface only
::addFeatures gets QgsFeature (and already updates their id), but
changeAttributeValues and changeGeometryValues only get attributes or geometry
along with the original feature id.


Jürgen

-- 
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50
Software Engineer           D-26506 Norden             http://www.norbit.de
QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode                         
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150227/fcbc0c5e/attachment.pgp>


More information about the Qgis-developer mailing list