<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Antal,<br>
<br>
Yes, it is possible to save the styling of the layer in a
GeoPackage.<br>
And to me it seems like it works the same as in QGIS 3.6.<br>
<br>
Here is a walkthrough:<br>
<br>
Suppose you have a vector layer in a GeoPackage that you opened in
QGIS, you styled it and now you want to save that style:<br>
<br>
In the layer tree window, right click on the layer -> properties.
<br>
<br>
Click the "Symbology" tab and go to the bottom of the window, click
on Style -> Save style...<br>
<br>
A new window will pop up with a roll-down menu "Save Style" on top.
<br>
<br>
there you should select "In Database (GeoPackage)"<br>
<br>
You can then input a name and the description (optional) for the
style you are saving.<br>
<br>
Also, if you tick on "save as default style" QGIS will automatically
style that layer accordingly whenever (and whatever machine) you
open that layer from the GeoPackage.<br>
<br>
Once happy, click OK and that should be it.<br>
<br>
If you inspect the geopackage afterwards you will see that there is
a new table called "layer_styles"<br>
where the styling is saved in both QML and SLD, in the
correspondingly named fields. <br>
<br>
Cheers,<br>
Áron<br>
<br>
<div class="moz-cite-prefix">On 26/06/2019 04:58, kosza.antal wrote:<br>
</div>
<blockquote type="cite"
cite="mid:5d1333b5.1c69fb81.ba878.c886@mx.google.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Hi everyone,
<div><br>
</div>
<div>There is a way, to store the layer definition file in
geopackage, with qgis 3.8?</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<br>
</body>
</html>