Re: [Qgis-user] Line in QGIS I can't get rid of
Garth Many thanks, annotations has resolved the problem. In my, 3.24, version it's not under Edit>>Annotations, but under the Annotations Toolbar>>Modify Annotations. Many thanks for the answer. Peter -Original Message- From: Garth Fletcher Sent: 30 May 2022 15:25 To: pe...@gardner.be; qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Line in QGIS I can't get rid of Look in Edit >> Annotations I struggled for days on an unremovable polygon until someone suggested "annotations" :-) -- Garth Fletcher ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] adding a layer from a zipped file
Hi Richard, Your "wild guess" is exactly right. I tested it. I copied file "GardenA.qml" into the same folder where "GardenA.zip" is located. Then told QGIS to add vector layer "GardenA.zip". It added layer "GardenA" using the correct color and labels. A similar test added layer "GardenAtrees.zip" with the correct svg symbol. You've solved the mystery. THANK YOU. I'm not happy with the resulting layer name ("GardenA - GardenA.shp" instead of just "GardenA") so I'll have to change all the layer names. But I can write a Python script to do that.) I've never used geopackages. Something new for me to learn. Cheers, Steve On 5/30/2022 3:44 AM, Richard Duivenvoorde wrote: Hi Stephen, Wild guessing here (not tested). I think: GDAL is responsible for loading the data from shape OR zipped shape QGIS is responsible for loading of a corresponding qml file. Normally, when QGIS (using GDAL) loads foo.shp, it will check if there is a foo.sld or foo.qml NEXT to it, and if so, uses it to STYLE the data. Now if you zipped foo.shp+files into foo.zip... Maybe QGIS is clever enough to ALSO look INTO the zip (and if not, this would be a nice Feature Request...) But else: try to put foo.qml next to the foo.zip But if you zipped the files into bar.zip... Then I would try to put a 'bar.qml' next to it (and hoping that QGIS decides that it has the same 'base name'. If all that fails: I would create a Feature Request for it (or start using Geopackages ...) Note that using geopackages, you also have 1 file, and you can save style INTO the geopackage (and even put more layers+styles into it etc etc). Regards, Richard Duivenvoorde On 5/29/22 19:02, Stephen Sacks via Qgis-user wrote: 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 *On Behalf Of *Stephen Sacks via Qgis-user *Sent:* Sunday, 29 May 2022 5:29 AM *To:* qgis forum *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.] ___ Qgis-user mailing list Qgis-user@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@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Line in QGIS I can't get rid of
Look in Edit >> Annotations I struggled for days on an unremovable polygon until someone suggested "annotations" :-) -- Garth Fletcher ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[QGIS-it-user] Disposizione dei pannelli e interfaccia utente
Buongiorno Ho creato due profili utenti: uno Gestore e uno Visualizzazione e quindi due file .ini distinti oscurando le voci che non voglio vedere nel secondo profilo. Ho creato due icone che lanciano Qgis con i due diversi profili usando le opzioni -customizationfile ... e -profile ... Dallo stesso PC entro con il profilo Gestore e fisso la disposizione dei pannelli e salvo, esco, entro con il profilo Visualizzazione e fisso la disposizione dei pannelli e salvo. Entro con il profilo Visualizzazione ed esco. Entro con il profilo Gestore ma sono visibili dei pannelli che avevo precedentemente oscurato. Nella Vs. esperienza, devo usare altre opzioni o altro procedimento ? Grazie in anticipo Franco Cazzola ___ QGIS-it-user mailing list QGIS-it-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/qgis-it-user
Re: [Qgis-user] adding a layer from a zipped file
Hi Stephen, Wild guessing here (not tested). I think: GDAL is responsible for loading the data from shape OR zipped shape QGIS is responsible for loading of a corresponding qml file. Normally, when QGIS (using GDAL) loads foo.shp, it will check if there is a foo.sld or foo.qml NEXT to it, and if so, uses it to STYLE the data. Now if you zipped foo.shp+files into foo.zip... Maybe QGIS is clever enough to ALSO look INTO the zip (and if not, this would be a nice Feature Request...) But else: try to put foo.qml next to the foo.zip But if you zipped the files into bar.zip... Then I would try to put a 'bar.qml' next to it (and hoping that QGIS decides that it has the same 'base name'. If all that fails: I would create a Feature Request for it (or start using Geopackages ...) Note that using geopackages, you also have 1 file, and you can save style INTO the geopackage (and even put more layers+styles into it etc etc). Regards, Richard Duivenvoorde On 5/29/22 19:02, Stephen Sacks via Qgis-user wrote: 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 *On Behalf Of *Stephen Sacks via Qgis-user *Sent:* Sunday, 29 May 2022 5:29 AM *To:* qgis forum *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.] ___ Qgis-user mailing list Qgis-user@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@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Line in QGIS I can't get rid of
Hi! Might be a "leftover" from a previously "selected" Line. You can try to deselect everything (CTRL-Alt-A) or the corresponding button in the GUI. regards Werner On Mon, May 30, 2022 at 8:55 AM Peter Gardner via Qgis-user < qgis-user@lists.osgeo.org> wrote: > I have a line in a project in QGIS that I can’t select or get rid of. I > have closed all layers in the project and it is still visible: > > > > > > Any ideas how I can remove it? > > > > Thanks > > Peter > ___ > Qgis-user mailing list > Qgis-user@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@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Line in QGIS I can't get rid of
I have a line in a project in QGIS that I can't select or get rid of. I have closed all layers in the project and it is still visible: Any ideas how I can remove it? Thanks Peter ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user