<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 Alessandro,</p>
<p>It is possible to rename tables in the DB manager. After connecting to the Geopackage you can rename by right-clicking on the layer. I just tried and it worked. Although it failed right after renaming to add the renamed layer - after closing the connection and reconnecting, I could add the layer fine.</p>
<p>So it seems to work with minor glitches.</p>
<p>Andreas</p>
<p>On 2018-11-20 15:19, Alessandro Pasotti wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr">On Tue, Nov 20, 2018 at 2:50 PM <<a href="mailto:brunos@mailbox.org">brunos@mailbox.org</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div>
<div>Hy there </div>
<div> </div>
<div>Maybe I don't get the simple way: How can I rename a layer of a geopackage in QGIS 3.4.1? I'm speaking of the layer of the database (.gpkg), not the name of the layer-reference in the layer panel in QGIS. I can create a new layer in the Browser and I can delete it. How to rename it?</div>
<div>Thanks </div>
<div> </div>
</div>
</blockquote>
<div> </div>
<div>You can't.</div>
<div> </div>
<div>This is not implemented (yet), but there is a workaround in latest QGIS master: from the browser you can  right-click on the layer and choose "Export Layer" -> "To File ..." and select the same geopackage, and give the layer a different name, then you can delete the original one.</div>
<div> </div>
</div>
<div class="gmail_quote"> </div>
-- <br />
<div class="gmail_signature" dir="ltr">Alessandro Pasotti<br />w3:   <a href="http://www.itopen.it" target="_blank" rel="noopener noreferrer">www.itopen.it</a></div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br /> Qgis-user mailing list<br /> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br /> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br /> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p><br /></p>

</body></html>