<div dir="auto">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.<div dir="auto"><br></div><div dir="auto">Alexandre Neto</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">A terça, 1/03/2022, 08:44, Andreas Neumann <<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi,</p>
<p>We have a problem with the merge tool.</p>
<p>We have a relatively complex data model with lots of relations. We want to use the merge tool with this data.</p>
<p>The merge tool allows to carefully choose which attributes should end up in the merged feature. This works fine, except for the feature ID.</p>
<p>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.</p>
<p>This is a huge problem - because after the merge we loose all relations, because the feature ID has changed.</p>
<p>Do you know any work around? Would we be able to fix this behaviour in a future QGIS release?</p>
<p>Thanks for the discussion,</p>
<p>Andreas</p>

</div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>