[Qgis-user] rename layer of geopackage in qgis 3.4
brunos at mailbox.org
brunos at mailbox.org
Tue Nov 20 07:14:08 PST 2018
Hi Alessandro and Andreass
Many thanks, it works in the DB-Manager!
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 :-)
Bruno
> Alessandro Pasotti <apasotti at gmail.com> hat am 20. November 2018 um 15:35 geschrieben:
>
> On Tue, Nov 20, 2018 at 3:24 PM Andreas Neumann < a.neumann at carto.net mailto:a.neumann at carto.net > wrote:
>
> > >
> > Hi Alessandro,
> >
> > 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.
> >
> > So it seems to work with minor glitches.
> >
> > Andreas
> >
> > On 2018-11-20 15:19, Alessandro Pasotti wrote:
> >
> > > > > On Tue, Nov 20, 2018 at 2:50 PM < brunos at mailbox.org mailto:brunos at mailbox.org > wrote:
> > >
> > > > > > > Hy there
> > > >
> > > > 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?
> > > > Thanks
> > > >
> > > >
> > > > > > >
> > > You can't.
> > >
> > > 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.
> > >
> > >
> > > --
> > > Alessandro Pasotti
> > > w3: http://www.itopen.it
> > >
> > > ______
> > >
> > > > >
> > >
>
> 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.
>
> --
> Alessandro Pasotti
> w3: http://www.itopen.it
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20181120/d0f80c62/attachment-0001.html>
More information about the Qgis-user
mailing list