<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font size="4">Hi Phil,<br>
Thanks for your reply. This morning I updated my QGIS from
version 3.16.3 to version 3.22.7 . With complete optimism, I
reloaded several layers from zipped shapefiles, but alas the
problem remains: polygons appear in random colors and without
labels and point layers have dots instead of the svg icons they
have when I load the same layers from the un-zipped six shapefile
files. When I examine the zip files with Windows File Explorer,
I see the .qml files are there and uncorrupted.<br>
I'm using a five-year-old plain vanilla Dell desktop running
64-bit Windows 10.<br>
I did the zipping with Thunderbird's Archive. Then,
separately, zipped one layer with Windows File Explorer zipper.
Same result.<br>
Am I doing something wrong? Shall I try updating to QGIS
3.24 ? Is it "stable"? What does it mean that version 3.22 is
"stable"?<br>
<br>
Steve<br>
<br>
</font><br>
<div class="moz-cite-prefix">On 5/29/2022 12:03 AM, Phil Wyatt
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:003c01d87311$0d152f00$273f8d00$@wyatt-family.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi
Stephen,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">You
might let us know your operating system and which version of
QGIS you are using because it works as you desire in the
latest development (3.24.3) and Long Term Release versions
(3.22.7). It may just be a matter of updating QGIS.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Cheers
- Phil<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span
lang="EN-US"> Qgis-user
<a class="moz-txt-link-rfc2396E" href="mailto:qgis-user-bounces@lists.osgeo.org"><qgis-user-bounces@lists.osgeo.org></a> <b>On Behalf
Of </b>Stephen Sacks via Qgis-user<br>
<b>Sent:</b> Sunday, 29 May 2022 5:29 AM<br>
<b>To:</b> qgis forum <a class="moz-txt-link-rfc2396E" href="mailto:qgis-user@lists.osgeo.org"><qgis-user@lists.osgeo.org></a><br>
<b>Subject:</b> [Qgis-user] adding a layer from a zipped
file<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-size:13.5pt"><br>
When I write a layer as a shape file, it appears on my C:
drive as six files, all with the same name but different
extensions. Then I zip those six into a single file
(xxx.zip). When I reload that layer from the zip file
(Layer > AddLayer > VectorLayer > File > Dataset
> xxx.zip), QGIS is almost smart enough to restore the
layer correctly. The polygon features are in the right
place and their attribute table is correct. <b>My
problem</b> is that it ignores one of the six files, the
"style" file (xxx .qml) which specifies color, labeling,
and symbol). Do I have to unzip before restoring layer xxx
? I know I could open the layer's properties and use Style
> Load Style from file xxx.qml . But when I'm restoring
several layers that's a lot of key strokes (and may require
that I unzip). It seems to me that this shouldn't be
necessary. [I encounter the same problem with point layers
and polygon layers.]<br>
<br>
</span><o:p></o:p></p>
</div>
</blockquote>
<br>
</body>
</html>