<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
Hi Alessandro and Andreass
<br>
</div>
<div>
Many thanks, it works in the DB-Manager!
</div>
<div>
Yes, it would be cool to have it directly in the browser (its a great tool!). Mabe even with the whole DB-manager funktionality? We have the Info tap (Properties). Nice to have the table and Preview too.... Sorry to ask ask cheekily :-)
<br>
</div>
<div>
<br>
</div>
<div>
Bruno
<br>
</div>
<div>
<br>
</div>
<blockquote type="cite">
Alessandro Pasotti <apasotti@gmail.com> hat am 20. November 2018 um 15:35 geschrieben:
<br>
<br>
<div dir="ltr">
<div class="ox-0f9363873b-gmail_quote">
<div dir="ltr">
On Tue, Nov 20, 2018 at 3:24 PM Andreas Neumann <
<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>> wrote:
<br>
</div>
<blockquote>
<div 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">
<div dir="ltr">
<div class="ox-0f9363873b-gmail_quote">
<div dir="ltr">
On Tue, Nov 20, 2018 at 2:50 PM <
<a href="mailto:brunos@mailbox.org" target="_blank" rel="noopener">brunos@mailbox.org</a>> wrote:
</div>
<blockquote>
<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="ox-0f9363873b-gmail_quote">
</div>--
<br>
<div class="ox-0f9363873b-m_-2848411685307052085gmail_signature" dir="ltr">
Alessandro Pasotti
<br>w3:
<a href="http://www.itopen.it" target="_blank" rel="noopener">www.itopen.it</a>
<br>
</div>
</div>
<br>
<div class="ox-0f9363873b-m_-2848411685307052085pre" style="margin: 0; padding: 0; font-family: monospace;">
______
</div>
</blockquote>
<br>
</div>
</blockquote>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Thanks Andreas, I worked so much on the browser that I tend to forget about DB manager, it would be cool to have it available directly from the browser though.
<br>
</div>
</div>
<br>--
<br>
<div dir="ltr" class="ox-0f9363873b-gmail_signature">
Alessandro Pasotti
<br>w3:
<a href="http://www.itopen.it" target="_blank" rel="noopener">www.itopen.it</a>
<br>
</div>
</div>
</blockquote>
<div class="default-style">
<br>
</div>
</body>
</html>