[Qgis-user] adding a layer from a zipped file
Stephen Sacks
ssacks456 at gmail.com
Sun May 29 10:02:27 PDT 2022
Hi Phil,
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.
I'm using a five-year-old plain vanilla Dell desktop running 64-bit
Windows 10.
I did the zipping with Thunderbird's Archive. Then, separately,
zipped one layer with Windows File Explorer zipper. Same result.
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"?
Steve
On 5/29/2022 12:03 AM, Phil Wyatt wrote:
>
> Hi Stephen,
>
> 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.
>
> Cheers - Phil
>
> *From:*Qgis-user <qgis-user-bounces at lists.osgeo.org> *On Behalf Of
> *Stephen Sacks via Qgis-user
> *Sent:* Sunday, 29 May 2022 5:29 AM
> *To:* qgis forum <qgis-user at lists.osgeo.org>
> *Subject:* [Qgis-user] adding a layer from a zipped file
>
>
> 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. *My problem* 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.]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220529/b82cffa0/attachment-0001.htm>
More information about the Qgis-user
mailing list