[Qgis-user] Saving project to geopackage

Sebastian Gutwein bas at rdgland.com
Sat Oct 31 12:22:47 PDT 2020


António,
I agree that this is a place where there could be improved. But as it seems
to improve everyday I have hope it won't be too long.
The easiest and safest way I have found is to put all of your layers and
project file in the same folder and zip it.

Have you tried the package layers tool in processing?
It will take all of the layers you select and put them in a geopackage.
There is the option to include the style. For your purposes the style will
ultimately be controlled by the .qgz project file but it would be helpful
during the process.
I believe it only works on vector layers so you would have to save raster
layers using the right click > export > save as > geopackage. Unless
someone else knows a better method.
This will not load the packaged layers into your project file so you would
have to either load them in again and delete your original layers or open
up a new project and load them in to that.
You can then save your project to the same geopackage.
Double clicking on the geopackage in my experience will not open the
project file instead it will open up one of the layers.
Instead you need to open it through the qgis file browser. Once you do this
you can do all the things you described.

Things that would make this an easy one click process would be if package
layers:

   1. Worked on rasters
   2. Had an option to include the project file.

Things that would make it even better.

   1. An extent could be defined
   2. A projection could be defined.


-Bas

On Sat, Oct 31, 2020 at 1:29 PM António Pestana <afsm.pestana at gmail.com>
wrote:

> Yes, muddy clear indeed.
>
> What I want is to save my entire project (data tables, layers, layer
> groups, layer formatting, etc.), including all my own data (vectors
> tables, rasters, etc) in a single file that can be sent to anyone.
>
> Anyone using QGIS and having access to my file should be able to:
>
> a) read this file and immediately display my entire project (layers,
> layer groups, labels, images, etc.) with all the formatting that I
> applied to it;
> b) read and /or edit all the data
> c) modify the project.
>
> Regards
>
> António
>
> Mike Flannigan <mikeflan at att.net> escreveu no dia quinta, 29/10/2020 à(s)
> 13:49:
> >
> >
> > Wow.  Clear as mud, heh?
> >
> > I want to learn this with you, even though I don't have
> > a great need for it yet.
> >
> > Does this video help?
> > https://freegistutorial.com/how-to-create-a-geopackage-on-qgis-3-2/
> >
> > I honestly don't know because I haven't tried it yet.
> > But I don't like that you have to select Line Feature, or
> > Polygon feature, or whatever.  Seems like we just want one
> > geopackage for everything, right?
> >
> >
> > Mike
> >
> >
> >
> > On 10/29/20 7:52 AM, qgis-user-request at lists.osgeo.org wrote:
> > > I'm a brand new user trying to adapt my workflows to  QGIS.
> > > I've created a project having more than twenty layers. In order to
> > > keep things more manageable I've structured these layers using several
> > > groups. I would like to save my project (layers, groups, formatings,
> > > etc) and all my data using only one file and send it to one coworker
> > > of mine. I suppose that exporting to one geopackage-type file is the
> > > way to go. It seems to me that my needs shouldn't be uncommon but
> > > unfortunately I don't know how to do that.
> > >
> > > I've searched QGIS user guide with no luck. Can anyone help me?
> > >
> > > Regards
> > >
> > > Antonio
> >
> >
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20201031/080c810e/attachment.html>


More information about the Qgis-user mailing list