[QGIS-Developer] Merge tool always creating a new feature id instead of preserving the existing one

Alexandre Neto senhor.neto at gmail.com
Tue Mar 1 01:16:32 PST 2022


I believe that comes from the geopackage fid limitations. For that reason,
I never use the fid field as an actual id. That's my workaround.

Alexandre Neto

A terça, 1/03/2022, 08:44, Andreas Neumann <a.neumann at carto.net> escreveu:

> Hi,
>
> We have a problem with the merge tool.
>
> We have a relatively complex data model with lots of relations. We want to
> use the merge tool with this data.
>
> The merge tool allows to carefully choose which attributes should end up
> in the merged feature. This works fine, except for the feature ID.
>
> QGIS stubbornly insists on having to create a new feature ID after the
> merge - and is not reusing the feature ID of the original feature we
> selected as the "master" feature in the merge tool.
>
> This is a huge problem - because after the merge we loose all relations,
> because the feature ID has changed.
>
> Do you know any work around? Would we be able to fix this behaviour in a
> future QGIS release?
>
> Thanks for the discussion,
>
> Andreas
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20220301/1083d7ef/attachment.html>


More information about the QGIS-Developer mailing list