<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:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
   
 
 <div>
  <div>
   Hy there
   <br>
  </div>
  <div>
   <br>
  </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
   <br>
  </div>
  <div>
   <br></div></div></blockquote><div><br></div><div>You can't.</div><div><br></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><br></div></div><div class="gmail_quote"><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></div>