<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Alex,</p>
<p>Thank you for your reply.</p>
<p>In my case, the data resides in Postgis, not in Geopackage.</p>
<p>But if I understand you correctly, then Geopackage imposes it's limit on QGIS in general, aka other providers as well - right?</p>
<p>Thanks,<br />Andreas</p>
<p id="reply-intro">On 2022-03-01 10:16, Alexandre Neto wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<div>
<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"> </div>
<div dir="auto">Alexandre Neto</div>
</div>
<br />
<div class="v1gmail_quote">
<div class="v1gmail_attr" dir="ltr">A terça, 1/03/2022, 08:44, Andreas Neumann <<a href="mailto:a.neumann@carto.net" rel="noreferrer">a.neumann@carto.net</a>> escreveu:</div>
<blockquote class="v1gmail_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" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br />List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br />Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote>
</div>
</div>
</div>
</blockquote>
<p><br /></p>

</body></html>