<div dir="ltr"><div dir="ltr"><br></div><div dir="ltr">For now, vectors only:</div><div dir="ltr"><br><div><a href="https://github.com/qgis/QGIS/pull/8519">https://github.com/qgis/QGIS/pull/8519</a><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 20, 2018 at 4:14 PM <<a href="mailto:brunos@mailbox.org">brunos@mailbox.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<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 <<a href="mailto:apasotti@gmail.com" target="_blank">apasotti@gmail.com</a>> hat am 20. November 2018 um 15:35 geschrieben:
<br>
<br>
<div dir="ltr">
<div class="m_-5152766629860637889ox-0f9363873b-gmail_quote">
<div dir="ltr">
On Tue, Nov 20, 2018 at 3:24 PM Andreas Neumann <
<a href="mailto:a.neumann@carto.net" target="_blank">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="m_-5152766629860637889ox-0f9363873b-gmail_quote">
<div dir="ltr">
On Tue, Nov 20, 2018 at 2:50 PM <
<a href="mailto:brunos@mailbox.org" rel="noopener" target="_blank">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="m_-5152766629860637889ox-0f9363873b-gmail_quote">
</div>--
<br>
<div class="m_-5152766629860637889ox-0f9363873b-m_-2848411685307052085gmail_signature" dir="ltr">
Alessandro Pasotti
<br>w3:
<a href="http://www.itopen.it" rel="noopener" target="_blank">www.itopen.it</a>
<br>
</div>
</div>
<br>
<div class="m_-5152766629860637889ox-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="m_-5152766629860637889ox-0f9363873b-gmail_signature">
Alessandro Pasotti
<br>w3:
<a href="http://www.itopen.it" rel="noopener" target="_blank">www.itopen.it</a>
<br>
</div>
</div>
</blockquote>
<div class="m_-5152766629860637889default-style">
<br>
</div>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Alessandro Pasotti<br>w3: <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>